Esempio n. 1
0
        public TFSTeams(Project project, string defaultTeamId, PreloadDepthEnum loadDepth, TfsTeamProjectCollection tpc) : base(loadDepth, tpc)
        {
            Project       = project;
            DefaultTeamId = defaultTeamId;

            if (PreloadDepth >= PreloadDepthEnum.Teams)
            {
                Task.WhenAll(LoadAllTeams());

                /*
                 * Task.WaitAll(new Task[] {
                 *  LoadAllTeams()
                 * });
                 */
            }
            else
            {
                Teams = new List <TFSTeam>();
            }
        }
 public BaseTFSIdentity(Identity identity, PreloadDepthEnum loadDepth, TfsTeamProjectCollection tpc) : base(loadDepth, tpc)
 {
     Ident = identity;
 }
Esempio n. 3
0
 public TFSGroup(Identity identity, PreloadDepthEnum loadDepth, TfsTeamProjectCollection tpc) : base(identity, loadDepth, tpc)
 {
 }
Esempio n. 4
0
 public TFSIdentity(Identity identity, PreloadDepthEnum preloadDepth) : base(identity, preloadDepth)
 {
 }
Esempio n. 5
0
 public TFSGroups(string projectId, string teamID, PreloadDepthEnum loadDepth, TfsTeamProjectCollection tpc) : base(loadDepth, tpc)
 {
     Groups = new List <TFSGroup>();
 }
Esempio n. 6
0
 public TFSUsers(string projectId, string teamID, List <TFSUser> initialList, PreloadDepthEnum loadDepth, TfsTeamProjectCollection tpc) : base(loadDepth, tpc)
 {
     Users = initialList;
 }