docs.unity3d.com
    Show / Hide Table of Contents

    Class StateTransitionGenerator<TStateTransition>

    Inheritance
    Object
    StateTransitionGenerator<TStateTransition>
    FlowStateTransitionGenerator
    Namespace: Ludiq.Bolt
    Syntax
    public abstract class StateTransitionGenerator<TStateTransition> : IStateTransitionGenerator, IGenerator where TStateTransition : class, IStateTransition
    Type Parameters
    Name Description
    TStateTransition

    Constructors

    StateTransitionGenerator(TStateTransition)

    Declaration
    protected StateTransitionGenerator(TStateTransition transition)
    Parameters
    Type Name Description
    TStateTransition transition

    Properties

    camelName

    Declaration
    protected string camelName { get; }
    Property Value
    Type Description
    String

    fieldAlias

    Declaration
    protected object fieldAlias { get; }
    Property Value
    Type Description
    Object

    pascalName

    Declaration
    protected string pascalName { get; }
    Property Value
    Type Description
    String

    transition

    Declaration
    public TStateTransition transition { get; }
    Property Value
    Type Description
    TStateTransition

    Methods

    DeclareMembers(ClassGeneration)

    Declaration
    public virtual void DeclareMembers(ClassGeneration class)
    Parameters
    Type Name Description
    ClassGeneration class
    Implements
    IStateTransitionGenerator.DeclareMembers(ClassGeneration)

    GenerateConstructorStatements(ConstructorGeneration)

    Declaration
    public IEnumerable<CodeStatement> GenerateConstructorStatements(ConstructorGeneration method)
    Parameters
    Type Name Description
    ConstructorGeneration method
    Returns
    Type Description
    IEnumerable<CodeStatement>
    Implements
    IStateTransitionGenerator.GenerateConstructorStatements(ConstructorGeneration)

    GenerateTransitionConstructor(ConstructorGeneration)

    Declaration
    protected abstract CodeExpression GenerateTransitionConstructor(ConstructorGeneration constructor)
    Parameters
    Type Name Description
    ConstructorGeneration constructor
    Returns
    Type Description
    CodeExpression

    GenerateTransitionField(FieldGeneration)

    Declaration
    protected virtual CodeFieldMember GenerateTransitionField(FieldGeneration field)
    Parameters
    Type Name Description
    FieldGeneration field
    Returns
    Type Description
    CodeFieldMember

    Explicit Interface Implementations

    IGenerator.target

    Declaration
    object IGenerator.target { get; }
    Returns
    Type Description
    Object
    Implements
    IGenerator.target

    IStateTransitionGenerator.target

    Declaration
    IStateTransition IStateTransitionGenerator.target { get; }
    Returns
    Type Description
    IStateTransition
    Implements
    IStateTransitionGenerator.target

    Extension Methods

    XDescriptorProvider.Descriptor(Object)
    XDescriptorProvider.Descriptor<TDescriptor>(Object)
    LiteralUtility.ToLiteralString(Object)
    LiteralUtility.ToLiteralStringOrDefault(Object)
    LiteralUtility.TryToLiteralString(Object, out String)
    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 SerializationData, DataFormat)
    LinqUtility.Yield<T>(T)
    UnityObjectUtility.IsUnityNull(Object)
    UnityObjectUtility.UnityNullCoalesce(Object, Object)
    UnityObjectUtility.ToSafeString(Object)
    XFilterProvider.Filter(Object)
    XFilterProvider.Filter<TFilter>(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
    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