docs.unity3d.com
    Show / Hide Table of Contents

    Class InvokerBase

    Inheritance
    Object
    InvokerBase
    InstanceInvokerBase<TTarget>
    StaticInvokerBase
    Namespace: Unity.VisualScripting
    Syntax
    public abstract class InvokerBase : IOptimizedInvoker

    Constructors

    InvokerBase(MethodInfo)

    Declaration
    protected InvokerBase(MethodInfo methodInfo)
    Parameters
    Type Name Description
    MethodInfo methodInfo

    Fields

    methodInfo

    Declaration
    protected readonly MethodInfo methodInfo
    Field Value
    Type Description
    MethodInfo

    targetType

    Declaration
    protected readonly Type targetType
    Field Value
    Type Description
    Type

    Methods

    Compile()

    Declaration
    public void Compile()
    Implements
    IOptimizedInvoker.Compile()

    CompileExpression()

    Declaration
    protected abstract void CompileExpression()

    CreateDelegate()

    Declaration
    protected abstract void CreateDelegate()

    GetParameterExpressions()

    Declaration
    protected ParameterExpression[] GetParameterExpressions()
    Returns
    Type Description
    ParameterExpression[]

    GetParameterTypes()

    Declaration
    protected abstract Type[] GetParameterTypes()
    Returns
    Type Description
    Type[]

    Invoke(Object)

    Declaration
    public virtual object Invoke(object target)
    Parameters
    Type Name Description
    Object target
    Returns
    Type Description
    Object
    Implements
    IOptimizedInvoker.Invoke(Object)

    Invoke(Object, Object)

    Declaration
    public virtual object Invoke(object target, object arg0)
    Parameters
    Type Name Description
    Object target
    Object arg0
    Returns
    Type Description
    Object
    Implements
    IOptimizedInvoker.Invoke(Object, Object)

    Invoke(Object, Object, Object)

    Declaration
    public virtual object Invoke(object target, object arg0, object arg1)
    Parameters
    Type Name Description
    Object target
    Object arg0
    Object arg1
    Returns
    Type Description
    Object
    Implements
    IOptimizedInvoker.Invoke(Object, Object, Object)

    Invoke(Object, Object, Object, Object)

    Declaration
    public virtual object Invoke(object target, object arg0, object arg1, object arg2)
    Parameters
    Type Name Description
    Object target
    Object arg0
    Object arg1
    Object arg2
    Returns
    Type Description
    Object
    Implements
    IOptimizedInvoker.Invoke(Object, Object, Object, Object)

    Invoke(Object, Object, Object, Object, Object)

    Declaration
    public virtual object Invoke(object target, object arg0, object arg1, object arg2, object arg3)
    Parameters
    Type Name Description
    Object target
    Object arg0
    Object arg1
    Object arg2
    Object arg3
    Returns
    Type Description
    Object
    Implements
    IOptimizedInvoker.Invoke(Object, Object, Object, Object, Object)

    Invoke(Object, Object, Object, Object, Object, Object)

    Declaration
    public virtual object Invoke(object target, object arg0, object arg1, object arg2, object arg3, object arg4)
    Parameters
    Type Name Description
    Object target
    Object arg0
    Object arg1
    Object arg2
    Object arg3
    Object arg4
    Returns
    Type Description
    Object
    Implements
    IOptimizedInvoker.Invoke(Object, Object, Object, Object, Object, Object)

    Invoke(Object, Object[])

    Declaration
    public abstract object Invoke(object target, params object[] args)
    Parameters
    Type Name Description
    Object target
    Object[] args
    Returns
    Type Description
    Object
    Implements
    IOptimizedInvoker.Invoke(Object, Object[])

    VerifyArgument<TParam>(MethodInfo, Int32, Object)

    Declaration
    protected void VerifyArgument<TParam>(MethodInfo methodInfo, int argIndex, object arg)
    Parameters
    Type Name Description
    MethodInfo methodInfo
    Int32 argIndex
    Object arg
    Type Parameters
    Name Description
    TParam

    VerifyTarget(Object)

    Declaration
    protected abstract void VerifyTarget(object target)
    Parameters
    Type Name Description
    Object target

    Extension Methods

    XAnalyserProvider.Analyser(Object, IGraphContext)
    XAnalyserProvider.Analyser<TAnalyser>(Object, IGraphContext)
    XAnalyserProvider.Analysis(Object, IGraphContext)
    XAnalyserProvider.Analysis<TAnalysis>(Object, IGraphContext)
    XAnalyserProvider.Analyser(Object, GraphReference)
    XAnalyserProvider.Analyser<TAnalyser>(Object, GraphReference)
    XAnalyserProvider.Analysis(Object, GraphReference)
    XAnalyserProvider.Analysis<TAnalysis>(Object, GraphReference)
    XDescriptorProvider.Describe(Object)
    XDescriptorProvider.HasDescriptor(Object)
    XDescriptorProvider.Descriptor(Object)
    XDescriptorProvider.Descriptor<TDescriptor>(Object)
    XDescriptorProvider.Description(Object)
    XDescriptorProvider.Description<TDescription>(Object)
    Cloning.Clone(Object, ICloner, Boolean)
    Cloning.Clone<T>(T, ICloner, Boolean)
    Cloning.CloneViaFakeSerialization(Object)
    Cloning.CloneViaFakeSerialization<T>(T)
    ConversionUtility.IsConvertibleTo(Object, Type, Boolean)
    ConversionUtility.IsConvertibleTo<T>(Object, Boolean)
    ConversionUtility.ConvertTo(Object, Type)
    ConversionUtility.ConvertTo<T>(Object)
    TypeUtility.ToShortString(Object, Int32)
    Serialization.CloneViaSerialization<T>(T, Boolean)
    Serialization.CloneViaSerializationInto<TSource, TDestination>(TSource, ref TDestination, Boolean)
    Serialization.Serialize(Object, Boolean)
    LinqUtility.Yield<T>(T)
    UnityObjectUtility.IsUnityNull(Object)
    UnityObjectUtility.ToSafeString(Object)
    In This Article
    • Constructors
      • InvokerBase(MethodInfo)
    • Fields
      • methodInfo
      • targetType
    • Methods
      • Compile()
      • CompileExpression()
      • CreateDelegate()
      • GetParameterExpressions()
      • GetParameterTypes()
      • Invoke(Object)
      • Invoke(Object, Object)
      • Invoke(Object, Object, Object)
      • Invoke(Object, Object, Object, Object)
      • Invoke(Object, Object, Object, Object, Object)
      • Invoke(Object, Object, Object, Object, Object, Object)
      • Invoke(Object, Object[])
      • VerifyArgument<TParam>(MethodInfo, Int32, Object)
      • VerifyTarget(Object)
    • Extension Methods
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023