Represents a method invocation.
public interface IMethodInvocation : IEquatable<IMethodInvocation>
kind:method, kind:property, kind:ctor. Press Esc to clear.ArgumentsThe arguments of the method invocation.ContextAn arbitrary property bag used during the invocation.HasImplementationWhether Invoke(Object) runs a member body when the target is the stunt.MethodBaseThe runtime method being invoked.SkipBehaviorsBehaviors in the pipeline that should be skipped during this invocation.TargetThe stunt object that was the target of the method invocation.CreateExceptionReturn(Exception)Creates a method invocation return that represents a thrown exception.CreateInvokeReturn(IArgumentCollection?)Invokes the underlying implementation of the method, if HasImplementation is true, optionally overriding the arguments passed to that invocation.CreateValueReturn(Object?, IArgumentCollection)Creates the method invocation return that ends the current invocation by providing the optional return value (for non-void methods) and optionally the ref/out argument values.Invoke(Object)Invokes this member on target.CreateReturn(IMethodInvocation)Creates the method invocation return that ends the current invocation.CreateReturn<T>(IMethodInvocation, T)Creates the method invocation return that ends the current invocation.CreateReturn<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(IMethodInvocation, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)Creates the method invocation return that ends the current invocation.CreateReturn<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(IMethodInvocation, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)Creates the method invocation return that ends the current invocation.CreateReturn<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(IMethodInvocation, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)Creates the method invocation return that ends the current invocation.CreateReturn<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>(IMethodInvocation, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)Creates the method invocation return that ends the current invocation.CreateReturn<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>(IMethodInvocation, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)Creates the method invocation return that ends the current invocation.CreateReturn<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>(IMethodInvocation, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)Creates the method invocation return that ends the current invocation.CreateReturn<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>(IMethodInvocation, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16)Creates the method invocation return that ends the current invocation.CreateReturn<T1, T2>(IMethodInvocation, T1, T2)Creates the method invocation return that ends the current invocation.CreateReturn<T1, T2, T3>(IMethodInvocation, T1, T2, T3)Creates the method invocation return that ends the current invocation.CreateReturn<T1, T2, T3, T4>(IMethodInvocation, T1, T2, T3, T4)Creates the method invocation return that ends the current invocation.CreateReturn<T1, T2, T3, T4, T5>(IMethodInvocation, T1, T2, T3, T4, T5)Creates the method invocation return that ends the current invocation.CreateReturn<T1, T2, T3, T4, T5, T6>(IMethodInvocation, T1, T2, T3, T4, T5, T6)Creates the method invocation return that ends the current invocation.CreateReturn<T1, T2, T3, T4, T5, T6, T7>(IMethodInvocation, T1, T2, T3, T4, T5, T6, T7)Creates the method invocation return that ends the current invocation.CreateReturn<T1, T2, T3, T4, T5, T6, T7, T8>(IMethodInvocation, T1, T2, T3, T4, T5, T6, T7, T8)Creates the method invocation return that ends the current invocation.CreateReturn<T1, T2, T3, T4, T5, T6, T7, T8, T9>(IMethodInvocation, T1, T2, T3, T4, T5, T6, T7, T8, T9)Creates the method invocation return that ends the current invocation.CreateValueReturn<TResult>(IMethodInvocation, TResult)Creates the method invocation return that ends the current invocation for a non-void method.CreateValueReturn<TResult, T1, T2, T3, T4, T5, T6, T7, T8, T9>(IMethodInvocation, TResult, T1, T2, T3, T4, T5, T6, T7, T8, T9)Creates the method invocation return that ends the current invocation for a non-void method.CreateValueReturn<TResult, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(IMethodInvocation, TResult, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)Creates the method invocation return that ends the current invocation for a non-void method.CreateValueReturn<TResult, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(IMethodInvocation, TResult, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)Creates the method invocation return that ends the current invocation for a non-void method.CreateValueReturn<TResult, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(IMethodInvocation, TResult, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)Creates the method invocation return that ends the current invocation for a non-void method.CreateValueReturn<TResult, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>(IMethodInvocation, TResult, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)Creates the method invocation return that ends the current invocation for a non-void method.CreateValueReturn<TResult, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>(IMethodInvocation, TResult, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)Creates the method invocation return that ends the current invocation for a non-void method.CreateValueReturn<TResult, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>(IMethodInvocation, TResult, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)Creates the method invocation return that ends the current invocation for a non-void method.CreateValueReturn<TResult, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>(IMethodInvocation, TResult, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16)Creates the method invocation return that ends the current invocation for a non-void method.CreateValueReturn<TResult, T>(IMethodInvocation, TResult, T)Creates the method invocation return that ends the current invocation for a non-void method.CreateValueReturn<TResult, T1, T2>(IMethodInvocation, TResult, T1, T2)Creates the method invocation return that ends the current invocation for a non-void method.CreateValueReturn<TResult, T1, T2, T3>(IMethodInvocation, TResult, T1, T2, T3)Creates the method invocation return that ends the current invocation for a non-void method.CreateValueReturn<TResult, T1, T2, T3, T4>(IMethodInvocation, TResult, T1, T2, T3, T4)Creates the method invocation return that ends the current invocation for a non-void method.CreateValueReturn<TResult, T1, T2, T3, T4, T5>(IMethodInvocation, TResult, T1, T2, T3, T4, T5)Creates the method invocation return that ends the current invocation for a non-void method.CreateValueReturn<TResult, T1, T2, T3, T4, T5, T6>(IMethodInvocation, TResult, T1, T2, T3, T4, T5, T6)Creates the method invocation return that ends the current invocation for a non-void method.CreateValueReturn<TResult, T1, T2, T3, T4, T5, T6, T7>(IMethodInvocation, TResult, T1, T2, T3, T4, T5, T6, T7)Creates the method invocation return that ends the current invocation for a non-void method.CreateValueReturn<TResult, T1, T2, T3, T4, T5, T6, T7, T8>(IMethodInvocation, TResult, T1, T2, T3, T4, T5, T6, T7, T8)Creates the method invocation return that ends the current invocation for a non-void method.SkipBehavior<TBehavior>(IMethodInvocation)Registers a behavior in the pipeline that should be skipped during this invocation by adding it to the SkipBehaviors list.Proceed(IMethodInvocation, ExecuteHandler, ProceedHandler)Calls next and passes the settled attempt to callback. Synchronous members run the callback before this method returns. Task and value-task members return a new awaitable of the same type immediately; the callback runs when that attempt finishes.