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

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

            InstanceFactory(ref instance);
            if (instance == null)
            {
                Assert.Inconclusive("Could not Create Test Instance");
            }
            return(instance);
        }
コード例 #2
0
        /// <summary>
        ///     Works the item store.
        /// </summary>
        /// <returns>WorkItemStore.</returns>
        protected IWorkItemStore WorkItemStore()
        {
            var workItemStore = r_Tpc.GetService <WorkItemStore>();

            return(WorkItemStoreWrapper.GetWrapper(workItemStore));
        }
コード例 #3
0
 static partial void InstanceFactory(ref WorkItemStoreWrapper instance, [CallerMemberName] string callerName = "");