internal static TfsTeamProjectCollectionWrapper GetInstance()
        {
            TfsTeamProjectCollection real = default(TfsTeamProjectCollection);

            RealInstanceFactory(ref real);
            var instance = (TfsTeamProjectCollectionWrapper)TfsTeamProjectCollectionWrapper.GetWrapper(real);

            InstanceFactory(ref instance);
            if (instance == null)
            {
                Assert.Inconclusive("Could not Create Test Instance");
            }
            return(instance);
        }
 static partial void InstanceFactory(ref TfsTeamProjectCollectionWrapper instance, [CallerMemberName] string callerName = "");
Пример #3
0
        /// <summary>
        ///     Connects the specified URL.
        /// </summary>
        /// <param name="url">The URL.</param>
        /// <returns>ITfsTeamProjectCollectionWrapper.</returns>
        public static ITfsTeamProjectCollection Connect(Uri url)
        {
            var real = new TfsTeamProjectCollection(url);

            return(TfsTeamProjectCollectionWrapper.GetWrapper(real));
        }