internal static WorkItem GetRealInstance() { WorkItem real; WorkItemTypeCollection workItemTypes = WorkItemTypeCollectionWrapper_UnitTests.GetRealInstance(); WorkItemType workItemType = workItemTypes["Task"]; real = new WorkItem(workItemType); return(real); }
static partial void RealInstanceFactory(ref WorkItemType real, string callerName) { WorkItemTypeCollection workItemTypes = WorkItemTypeCollectionWrapper_UnitTests.GetRealInstance(); real = workItemTypes["Task"]; }