internal static ITfsRequestChannelFactoryWrapper GetInstance() { ITfsRequestChannelFactory real = default(ITfsRequestChannelFactory); RealInstanceFactory(ref real); var instance = (ITfsRequestChannelFactoryWrapper)ITfsRequestChannelFactoryWrapper.GetWrapper(real); InstanceFactory(ref instance); if (instance == null) { Assert.Inconclusive("Could not Create Test Instance"); } return(instance); }
static partial void RealInstanceFactory(ref ITfsRequestChannelFactory real, string callerName) { real = new TemporaryMock(); }
static partial void RealInstanceFactory(ref ITfsRequestChannelFactory real, [CallerMemberName] string callerName = "");