コード例 #1
0
        internal static VariableSizeListWrapper GetInstance()
        {
            VariableSizeList real = default(VariableSizeList);

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

            InstanceFactory(ref instance);
            if (instance == null)
            {
                Assert.Inconclusive("Could not Create Test Instance");
            }
            return(instance);
        }
コード例 #2
0
 static partial void RealInstanceFactory(ref VariableSizeList real, string callerName)
 {
     real = new TemporaryMock();
 }
コード例 #3
0
 static partial void RealInstanceFactory(ref VariableSizeList real, [CallerMemberName] string callerName = "");