private ProjectInfo(string name, string path, Option <Guid> guid, ProjectType.Identifier type) { Name = name; Path = path; Guid = guid; Type = type; }
public Project(string projectName, string projectPath, ProjectType.Identifier projectType, Option <Guid> projectGuid = default) { ProjectName = projectName; ProjectPath = projectPath; ProjectType = new ProjectType(projectType); ProjectGuid = projectGuid.GetOrElse(Guid.NewGuid); }
public Builder WithType(ProjectType.Identifier type) { _type = type; return(this); }