internal static WorkItemStoreImpl GetInstance([CallerMemberName] string callerName = "")
        {
            var instance = new WorkItemStoreImpl();

            InstanceFactory(ref instance, callerName);
            return(instance);
        }
Example #2
0
        static partial void InstanceFactory(ref WorkItemCollectionImpl instance, string callerName)
        {
            WorkItemStoreImpl            store = WorkItemStoreImpl_UnitTests.GetInstance();
            IReadOnlyList <WorkItemImpl> items = new List <WorkItemImpl> {
                WorkItemImpl_UnitTests.GetInstance()
            };

            instance = new WorkItemCollectionImpl(store, items);
        }
 static partial void InstanceFactory(ref WorkItemStoreImpl instance, [CallerMemberName] string callerName = "");