コード例 #1
0
 public TeamProjectViewModel(AdoTeam team, IList <TeamProjectViewModel> children)
 {
     this.Team      = team;
     this._children = children ?? new List <TeamProjectViewModel>();
 }
コード例 #2
0
        /// <summary>
        /// Copy ctor - enforces correct types internally
        /// </summary>
        /// <param name="original">The original object being copied</param>
#pragma warning disable CA1062 // Validate arguments of public methods
        public AdoTeam(AdoTeam original) : this(original.Name, original.Id, original.ParentProject)
        {
        }