Class BinaryOperatorHandler | Bolt Visual Scripting | 1.4.12
docs.unity3d.com
    Show / Hide Table of Contents

    Class BinaryOperatorHandler

    Inheritance
    Object
    OperatorHandler
    BinaryOperatorHandler
    AdditionHandler
    BitwiseAndHandler
    BitwiseExclusiveOrHandler
    BitwiseOrHandler
    DivisionHandler
    EqualityHandler
    GreaterThanHandler
    GreaterThanOrEqualHandler
    InequalityHandler
    LeftShiftHandler
    LessThanHandler
    LessThanOrEqualHandler
    ModuloHandler
    MultiplicationHandler
    RightShiftHandler
    SubtractionHandler
    Inherited Members
    OperatorHandler.category
    OperatorHandler.name
    OperatorHandler.verb
    OperatorHandler.symbol
    OperatorHandler.fancySymbol
    OperatorHandler.customMethodName
    Namespace: Ludiq
    Syntax
    public abstract class BinaryOperatorHandler : OperatorHandler

    Constructors

    BinaryOperatorHandler(OperatorCategory, BinaryOperator, String, String, String, String, String)

    Declaration
    protected BinaryOperatorHandler(OperatorCategory category, BinaryOperator operator, string name, string verb, string symbol, string fancySymbol, string customMethodName)
    Parameters
    Type Name Description
    OperatorCategory category
    BinaryOperator operator
    String name
    String verb
    String symbol
    String fancySymbol
    String customMethodName

    Properties

    operator

    Declaration
    public BinaryOperator operator { get; }
    Property Value
    Type Description
    BinaryOperator

    Methods

    BothNullHandling()

    Declaration
    protected virtual object BothNullHandling()
    Returns
    Type Description
    Object

    CustomHandling(Object, Object)

    Declaration
    protected virtual object CustomHandling(object leftOperand, object rightOperand)
    Parameters
    Type Name Description
    Object leftOperand
    Object rightOperand
    Returns
    Type Description
    Object

    GetCustomHandlingType(Type, Type)

    Declaration
    protected virtual Type GetCustomHandlingType(Type leftType, Type rightType)
    Parameters
    Type Name Description
    Type leftType
    Type rightType
    Returns
    Type Description
    Type

    GetDescriptionFormat(Type, Type)

    Declaration
    public abstract string GetDescriptionFormat(Type leftType, Type rightType)
    Parameters
    Type Name Description
    Type leftType
    Type rightType
    Returns
    Type Description
    String

    GetResultType(Type, Type)

    Declaration
    public Type GetResultType(Type leftType, Type rightType)
    Parameters
    Type Name Description
    Type leftType
    Type rightType
    Returns
    Type Description
    Type

    Handle<TLeft, TRight>(Func<TLeft, TRight, Object>, Type)

    Declaration
    protected void Handle<TLeft, TRight>(Func<TLeft, TRight, object> handler, Type resultType)
    Parameters
    Type Name Description
    Func<TLeft, TRight, Object> handler
    Type resultType
    Type Parameters
    Name Description
    TLeft
    TRight

    Operate(Object, Object)

    Declaration
    public virtual object Operate(object leftOperand, object rightOperand)
    Parameters
    Type Name Description
    Object leftOperand
    Object rightOperand
    Returns
    Type Description
    Object

    SingleNullHandling()

    Declaration
    protected virtual object SingleNullHandling()
    Returns
    Type Description
    Object

    Supports(Type, Type)

    Declaration
    public bool Supports(Type leftType, Type rightType)
    Parameters
    Type Name Description
    Type leftType
    Type rightType
    Returns
    Type Description
    Boolean

    SupportsManual(Type, Type)

    Declaration
    public bool SupportsManual(Type leftType, Type rightType)
    Parameters
    Type Name Description
    Type leftType
    Type rightType
    Returns
    Type Description
    Boolean

    TryGetResultType(Type, Type, out Type)

    Declaration
    public bool TryGetResultType(Type leftType, Type rightType, out Type type)
    Parameters
    Type Name Description
    Type leftType
    Type rightType
    Type type
    Returns
    Type Description
    Boolean

    Extension Methods

    XDescriptorProvider.Descriptor(Object)
    XDescriptorProvider.Descriptor<TDescriptor>(Object)
    LiteralUtility.ToLiteralString(Object)
    LiteralUtility.ToLiteralStringOrDefault(Object)
    LiteralUtility.TryToLiteralString(Object, out String)
    XFilterProvider.Filter(Object)
    XFilterProvider.Filter<TFilter>(Object)
    Cloning.Clone(Object, ICloner, Boolean)
    Cloning.Clone(Object, ICloner, Boolean, out Dictionary<Object, Object>)
    Cloning.Clone<T>(T, ICloner, Boolean)
    Cloning.Clone<T>(T, ICloner, Boolean, out Dictionary<Object, Object>)
    Cloning.CloneViaSerializationPolicy(Object)
    Cloning.CloneViaSerializationPolicy(Object, out Dictionary<Object, Object>)
    Cloning.CloneViaSerializationPolicy<T>(T)
    Cloning.CloneViaSerializationPolicy<T>(T, out Dictionary<Object, Object>)
    Cloning.CloneInto(Object, ref Object, ICloner, Boolean)
    Cloning.CloneInto(Object, ref Object, ICloner, Boolean, out Dictionary<Object, Object>)
    Cloning.CloneInto<T>(T, ref Object, ICloner, Boolean)
    Cloning.CloneInto<T>(T, ref Object, ICloner, Boolean, out Dictionary<Object, Object>)
    Cloning.CloneIntoViaSerializationPolicy(Object, ref Object)
    Cloning.CloneIntoViaSerializationPolicy(Object, ref Object, out Dictionary<Object, Object>)
    Cloning.CloneIntoViaSerializationPolicy<T>(T, ref Object)
    Cloning.CloneIntoViaSerializationPolicy<T>(T, ref Object, out Dictionary<Object, Object>)
    Cloning.CloneValueType(Object)
    ConversionUtility.ConvertTo<TSource>(TSource, Type)
    ConversionUtility.IsLateConvertibleTo(Object, Type, Boolean)
    ConversionUtility.IsLateConvertibleTo<T>(Object, Boolean)
    ConversionUtility.LateConvertTo(Object, Type)
    ConversionUtility.LateConvertTo<T>(Object)
    ConversionUtility.TryLateConvertTo(Object, Type, out Object, Boolean)
    ConversionUtility.TryLateConvertTo<T>(Object, out T, Boolean)
    TypeUtility.ToShortString(Object, Int32)
    TypeUtility.CastTo<T>(Object)
    Serialization.FullSerialize(Object, Boolean)
    Serialization.OdinSerialize<T>(T, DataFormat)
    Serialization.OdinSerialize<T>(T, ref OdinSerializer.SerializationData, DataFormat)
    LinqUtility.Yield<T>(T)
    UnityObjectUtility.IsUnityNull(Object)
    UnityObjectUtility.UnityNullCoalesce(Object, Object)
    UnityObjectUtility.ToSafeString(Object)
    BoltGenerationUtility.GenerateLiteral(Object, IGeneration)
    XGeneratorProvider.Generator(Object, IGeneration)
    XGeneratorProvider.Generator<TGenerator>(Object, IGeneration)
    XGeneratorProvider.HasGenerator(Object, IGeneration)
    XGeneratorProvider.HasGenerator<TGenerator>(Object, IGeneration)
    XGeneratorProvider.TryGetGenerator(Object, out IGenerator, IGeneration)
    XGeneratorProvider.TryGetGenerator<TGenerator>(Object, IGeneration, out TGenerator)
    HybridConversionUtility.ConvertTo(Object, HybridType, HybridType)
    HybridConversionUtility.IsLateConvertibleTo(Object, HybridType, Boolean)
    HybridConversionUtility.LateConvertTo(Object, HybridType)
    HybridConversionUtility.TryLateConvertTo(Object, HybridType, out Object, Boolean)
    HybridTypeUtility.GetHybridType(Object)
    IsUtility.Is<TO, TC>(TO, out TC)
    PrivateReflectionUsingDynamicExtensions.AsDynamic(Object)
    JsonWriter.ToJson(Object)
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX