コード例 #1
0
        int Microsoft.VisualStudio.TestPlatform.Core.IUniversalTestExecutorService_P.LaunchProcessWithDebuggerAttached(
            string filePath,
            string workingDirectory,
            string arguments,
            System.Collections.Generic.IDictionary_P <string, string> environmentVariables)
        {
            global::System.RuntimeMethodHandle   interfaceMethod  = global::System.Reflection.DispatchProxyHelpers.GetCorrespondingInterfaceMethodFromMethodImpl();
            global::System.RuntimeTypeHandle     interfaceType    = typeof(Microsoft.VisualStudio.TestPlatform.Core.IUniversalTestExecutorService_P).TypeHandle;
            global::System.Reflection.MethodBase targetMethodInfo = global::System.Reflection.MethodBase.GetMethodFromHandle(
                interfaceMethod,
                interfaceType
                );
            object[] callsiteArgs = new object[] {
                filePath,
                workingDirectory,
                arguments,
                environmentVariables
            };
            int retval = ((int)base.Invoke(
                              ((global::System.Reflection.MethodInfo)targetMethodInfo),
                              callsiteArgs
                              ));

            return(retval);
        }
コード例 #2
0
 void Microsoft.VisualStudio.TestPlatform.Core.IUniversalTestExecutorService_P.OnRunComplete(
     bool isCanceled,
     bool isAborted,
     System.Collections.Generic.ICollection_P <string> executorUris,
     System.Exception_P exception,
     Microsoft.VisualStudio.TestPlatform.Core.TestRunStats_P testRunStats,
     System.Collections.Generic.IEnumerable_P <Microsoft.VisualStudio.TestPlatform.ObjectModel.TestResult_P> lastChunk,
     bool adapterHintedToShutdownAfterRun,
     System.TimeSpan_P elapsedTime,
     System.Collections.Generic.ICollection_P <Microsoft.VisualStudio.TestPlatform.ObjectModel.AttachmentSet_P> runContextAttachments)
 {
     global::System.RuntimeMethodHandle   interfaceMethod  = global::System.Reflection.DispatchProxyHelpers.GetCorrespondingInterfaceMethodFromMethodImpl();
     global::System.RuntimeTypeHandle     interfaceType    = typeof(Microsoft.VisualStudio.TestPlatform.Core.IUniversalTestExecutorService_P).TypeHandle;
     global::System.Reflection.MethodBase targetMethodInfo = global::System.Reflection.MethodBase.GetMethodFromHandle(
         interfaceMethod,
         interfaceType
         );
     object[] callsiteArgs = new object[] {
         isCanceled,
         isAborted,
         executorUris,
         exception,
         testRunStats,
         lastChunk,
         adapterHintedToShutdownAfterRun,
         elapsedTime,
         runContextAttachments
     };
     base.Invoke(
         ((global::System.Reflection.MethodInfo)targetMethodInfo),
         callsiteArgs
         );
 }
コード例 #3
0
 Microsoft.VisualStudio.TestPlatform.Core.PollRequest_P Microsoft.VisualStudio.TestPlatform.Core.IUniversalTestExecutorService_P.PollForRequest()
 {
     global::System.RuntimeMethodHandle   interfaceMethod  = global::System.Reflection.DispatchProxyHelpers.GetCorrespondingInterfaceMethodFromMethodImpl();
     global::System.RuntimeTypeHandle     interfaceType    = typeof(Microsoft.VisualStudio.TestPlatform.Core.IUniversalTestExecutorService_P).TypeHandle;
     global::System.Reflection.MethodBase targetMethodInfo = global::System.Reflection.MethodBase.GetMethodFromHandle(
         interfaceMethod,
         interfaceType
         );
     object[] callsiteArgs = new object[0];
     Microsoft.VisualStudio.TestPlatform.Core.PollRequest_P retval = ((Microsoft.VisualStudio.TestPlatform.Core.PollRequest_P)base.Invoke(
                                                                          ((global::System.Reflection.MethodInfo)targetMethodInfo),
                                                                          callsiteArgs
                                                                          ));
     return(retval);
 }
コード例 #4
0
 void Microsoft.VisualStudio.TestPlatform.Core.IUniversalTestExecutorService_P.OnLogMessages(System.Collections.Generic.IEnumerable_P <Microsoft.VisualStudio.TestPlatform.Core.LogMessage_P> messages)
 {
     global::System.RuntimeMethodHandle   interfaceMethod  = global::System.Reflection.DispatchProxyHelpers.GetCorrespondingInterfaceMethodFromMethodImpl();
     global::System.RuntimeTypeHandle     interfaceType    = typeof(Microsoft.VisualStudio.TestPlatform.Core.IUniversalTestExecutorService_P).TypeHandle;
     global::System.Reflection.MethodBase targetMethodInfo = global::System.Reflection.MethodBase.GetMethodFromHandle(
         interfaceMethod,
         interfaceType
         );
     object[] callsiteArgs = new object[] {
         messages
     };
     base.Invoke(
         ((global::System.Reflection.MethodInfo)targetMethodInfo),
         callsiteArgs
         );
 }
コード例 #5
0
 System.Threading.Tasks.Task_P <Egee.Proxy.Sappel.InitResponse_P> Egee.Proxy.Sappel.ISappelService_P.InitAsync(Egee.Proxy.Sappel.InitRequest_P request)
 {
     global::System.RuntimeMethodHandle   interfaceMethod  = global::System.Reflection.DispatchProxyHelpers.GetCorrespondingInterfaceMethodFromMethodImpl();
     global::System.RuntimeTypeHandle     interfaceType    = typeof(Egee.Proxy.Sappel.ISappelService_P).TypeHandle;
     global::System.Reflection.MethodBase targetMethodInfo = global::System.Reflection.MethodBase.GetMethodFromHandle(
         interfaceMethod,
         interfaceType
         );
     object[] callsiteArgs = new object[] {
         request
     };
     System.Threading.Tasks.Task_P <Egee.Proxy.Sappel.InitResponse_P> retval = ((System.Threading.Tasks.Task_P <Egee.Proxy.Sappel.InitResponse_P>)base.Invoke(
                                                                                    ((global::System.Reflection.MethodInfo)targetMethodInfo),
                                                                                    callsiteArgs
                                                                                    ));
     return(retval);
 }
コード例 #6
0
 void Microsoft.VisualStudio.TestPlatform.Core.IUniversalTestExecutorService_P.OnTestRunChanges(
     Microsoft.VisualStudio.TestPlatform.Core.TestRunStats_P testRunStats,
     System.Collections.Generic.IEnumerable_P <Microsoft.VisualStudio.TestPlatform.ObjectModel.TestResult_P> newTestResults,
     System.Collections.Generic.IEnumerable_P <Microsoft.VisualStudio.TestPlatform.ObjectModel.TestCase_P> inProgressTestCases)
 {
     global::System.RuntimeMethodHandle   interfaceMethod  = global::System.Reflection.DispatchProxyHelpers.GetCorrespondingInterfaceMethodFromMethodImpl();
     global::System.RuntimeTypeHandle     interfaceType    = typeof(Microsoft.VisualStudio.TestPlatform.Core.IUniversalTestExecutorService_P).TypeHandle;
     global::System.Reflection.MethodBase targetMethodInfo = global::System.Reflection.MethodBase.GetMethodFromHandle(
         interfaceMethod,
         interfaceType
         );
     object[] callsiteArgs = new object[] {
         testRunStats,
         newTestResults,
         inProgressTestCases
     };
     base.Invoke(
         ((global::System.Reflection.MethodInfo)targetMethodInfo),
         callsiteArgs
         );
 }