Otter SDK Reference
Version:

RemoteMethodExecuter Class

Contains extension methods for IRemoteMethodExecuter.

Inheritance Hierarchy

  • object
    • Inedo.Agents.RemoteMethodExecuter

Syntax

public class RemoteMethodExecuter

Methods

Name Description
InvokeAction(IRemoteMethodExecuter agent, System.Action method)

Invokes the method on the remote server.

InvokeAction<T>(IRemoteMethodExecuter agent, System.Action<T> method, T arg)

Invokes the method on the remote server using the specified argument.

InvokeAction<T1, T2>(IRemoteMethodExecuter agent, System.Action<T1, T2> method, T1 arg1, T2 arg2)
InvokeAction<T1, T2, T3>(IRemoteMethodExecuter agent, System.Action<T1, T2, T3> method, T1 arg1, T2 arg2, T3 arg3)
InvokeAction<T1, T2, T3, T4>(IRemoteMethodExecuter agent, System.Action<T1, T2, T3, T4> method, T1 arg1, T2 arg2, T3 arg3, T4 arg4)
InvokeActionAsync(IRemoteMethodExecuter agent, System.Action method)

Invokes the method on the remote server.

InvokeActionAsync<T>(IRemoteMethodExecuter agent, System.Action<T> method, T arg)

Invokes the method on the remote server using the specified argument.

InvokeActionAsync<T1, T2>(IRemoteMethodExecuter agent, System.Action<T1, T2> method, T1 arg1, T2 arg2)
InvokeActionAsync<T1, T2, T3>(IRemoteMethodExecuter agent, System.Action<T1, T2, T3> method, T1 arg1, T2 arg2, T3 arg3)
InvokeActionAsync<T1, T2, T3, T4>(IRemoteMethodExecuter agent, System.Action<T1, T2, T3, T4> method, T1 arg1, T2 arg2, T3 arg3, T4 arg4)
InvokeFunc<TResult>(IRemoteMethodExecuter agent, System.Func<TResult> method)

Invokes the method on the remote server and returns the result.

InvokeFunc<T, TResult>(IRemoteMethodExecuter agent, System.Func<T, TResult> method, T arg)
InvokeFunc<T1, T2, TResult>(IRemoteMethodExecuter agent, System.Func<T1, T2, TResult> method, T1 arg1, T2 arg2)
InvokeFunc<T1, T2, T3, TResult>(IRemoteMethodExecuter agent, System.Func<T1, T2, T3, TResult> method, T1 arg1, T2 arg2, T3 arg3)
InvokeFunc<T1, T2, T3, T4, TResult>(IRemoteMethodExecuter agent, System.Func<T1, T2, T3, T4, TResult> method, T1 arg1, T2 arg2, T3 arg3, T4 arg4)
InvokeFuncAsync<TResult>(IRemoteMethodExecuter agent, System.Func<TResult> method)

Invokes the method on the remote server and returns the result.

InvokeFuncAsync<T, TResult>(IRemoteMethodExecuter agent, System.Func<T, TResult> method, T arg)
InvokeFuncAsync<T1, T2, TResult>(IRemoteMethodExecuter agent, System.Func<T1, T2, TResult> method, T1 arg1, T2 arg2)
InvokeFuncAsync<T1, T2, T3, TResult>(IRemoteMethodExecuter agent, System.Func<T1, T2, T3, TResult> method, T1 arg1, T2 arg2, T3 arg3)
InvokeFuncAsync<T1, T2, T3, T4, TResult>(IRemoteMethodExecuter agent, System.Func<T1, T2, T3, T4, TResult> method, T1 arg1, T2 arg2, T3 arg3, T4 arg4)
InvokeMethod(IRemoteMethodExecuter agent, System.Reflection.MethodBase method, object instance, object[] parameters)

Invokes the method on the remote server using the specified arguments, and returns the result.

InvokeMethod(IRemoteMethodExecuter agent, System.Delegate method, object[] parameters)

Invokes the method on the remote server using the specified arguments, and returns the result.

InvokeMethodAsync(IRemoteMethodExecuter agent, System.Delegate method, object[] parameters)

Invokes the method on the remote server using the specified arguments, and returns the result.