Example #1
0
        public static IIdentityManagementService GetIdentityManagementService([NotNull] this ITeamProjectCollection teamProjectCollection)
        {
            Contract.Requires(teamProjectCollection != null);

            if (teamProjectCollection == null)
            {
                throw new ArgumentNullException(nameof(teamProjectCollection));
            }
            return(((IInternalTeamProjectCollection)teamProjectCollection).GetService <IIdentityManagementService2>().AsProxy());
        }
Example #2
0
 public AuthenticationSuccessNotification(VssCredentials credentials, ITeamProjectCollection teamProjectCollection)
     : base(credentials)
 {
     TeamProjectCollection = teamProjectCollection;
 }