Пример #1
0
        public ProjectType EnsureType(String typeName)
        {
            ProjectType pt = this.GetType(typeName);

            if (pt == null)
            {
                pt = new ProjectType(this);
                pt.Name = typeName;

                this.types.Add(typeName.ToLower(), pt);
            }

            return pt;
        }
Пример #2
0
 public ProjectMember(ProjectType projectType)
 {
     this.projectType = projectType;
 }