public TeamProjectViewModel(AdoTeam team, IList <TeamProjectViewModel> children) { this.Team = team; this._children = children ?? new List <TeamProjectViewModel>(); }
/// <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) { }