Example #1
0
        internal static TFProxyServerWrapper GetInstance()
        {
            TFProxyServer real = default(TFProxyServer);

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

            InstanceFactory(ref instance);
            if (instance == null)
            {
                Assert.Inconclusive("Could not Create Test Instance");
            }
            return(instance);
        }
Example #2
0
 static partial void RealInstanceFactory(ref TFProxyServer real, [CallerMemberName] string callerName = "");
Example #3
0
 static partial void RealInstanceFactory(ref TFProxyServer real, string callerName)
 {
     real = (TFProxyServer)FormatterServices.GetUninitializedObject(typeof(TFProxyServer));
 }