docs.unity3d.com
    Show / Hide Table of Contents

    Class GraphElement<TGraph>

    Inheritance
    Object
    GraphElement<TGraph>
    GraphGroup
    State
    StateTransition
    Unit<TFlowGraph>
    UnitConnection<TSourcePort, TDestinationPort>
    Namespace: Ludiq.Bolt
    Syntax
    public abstract class GraphElement<TGraph> : IGraphElement, IGraphChild, IObservableDisposable, IDisposable, INotifiedCollectionChild<IGraph>, ICollectionChild<IGraph>, IPrewarmable, IIdentifiable, INotifyPropertyChanged where TGraph : class, IGraph
    Type Parameters
    Name Description
    TGraph

    Constructors

    GraphElement()

    Declaration
    protected GraphElement()

    Properties

    dependencyOrder

    Declaration
    [DoNotSerialize]
    public virtual int dependencyOrder { get; }
    Property Value
    Type Description
    Int32
    Implements
    IGraphElement.dependencyOrder

    deserializationDependencies

    Declaration
    public virtual IEnumerable<ISerializationDependency> deserializationDependencies { get; }
    Property Value
    Type Description
    IEnumerable<ISerializationDependency>
    Implements
    IGraphElement.deserializationDependencies

    guid

    Declaration
    [Serialize]
    public Guid guid { get; set; }
    Property Value
    Type Description
    Guid
    Implements
    IGraphElement.guid
    IIdentifiable.guid

    IsDisposed

    Declaration
    [DoNotSerialize]
    public bool IsDisposed { get; }
    Property Value
    Type Description
    Boolean
    Implements
    IObservableDisposable.IsDisposed

    modules

    Declaration
    [DoNotSerialize]
    public GraphElementModuleMergedCollection modules { get; }
    Property Value
    Type Description
    GraphElementModuleMergedCollection
    Implements
    IGraphElement.modules

    parentGraph

    Declaration
    [DoNotSerialize]
    public TGraph parentGraph { get; set; }
    Property Value
    Type Description
    TGraph

    requiresInstantiation

    Declaration
    [DoNotSerialize]
    public virtual bool requiresInstantiation { get; }
    Property Value
    Type Description
    Boolean
    Implements
    IGraphElement.requiresInstantiation

    Methods

    AfterAdd(TGraph)

    Declaration
    protected virtual void AfterAdd(TGraph graph)
    Parameters
    Type Name Description
    TGraph graph

    AfterRemove(TGraph)

    Declaration
    protected virtual void AfterRemove(TGraph graph)
    Parameters
    Type Name Description
    TGraph graph

    BeforeAdd(TGraph)

    Declaration
    protected virtual void BeforeAdd(TGraph graph)
    Parameters
    Type Name Description
    TGraph graph

    BeforeRemove(TGraph)

    Declaration
    protected virtual void BeforeRemove(TGraph graph)
    Parameters
    Type Name Description
    TGraph graph

    Dispose()

    Declaration
    public virtual void Dispose()

    HandleDependencies()

    Declaration
    public virtual bool HandleDependencies()
    Returns
    Type Description
    Boolean
    Implements
    IGraphElement.HandleDependencies()

    Instantiate(GraphReference)

    Declaration
    public virtual void Instantiate(GraphReference instance)
    Parameters
    Type Name Description
    GraphReference instance
    Implements
    IGraphElement.Instantiate(GraphReference)

    OnPropertyChanged(Object, PropertyChangedEventArgs)

    Declaration
    protected virtual void OnPropertyChanged(object sender, PropertyChangedEventArgs args)
    Parameters
    Type Name Description
    Object sender
    PropertyChangedEventArgs args

    OnPropertyChanged(String)

    Declaration
    protected void OnPropertyChanged(string propertyName = "")
    Parameters
    Type Name Description
    String propertyName

    Prewarm()

    Declaration
    public virtual void Prewarm()
    Implements
    IPrewarmable.Prewarm()

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    String
    Overrides
    Object.ToString()

    Uninstantiate(GraphReference)

    Declaration
    public virtual void Uninstantiate(GraphReference instance)
    Parameters
    Type Name Description
    GraphReference instance
    Implements
    IGraphElement.Uninstantiate(GraphReference)

    Events

    PropertyChanged

    Declaration
    public event PropertyChangedEventHandler PropertyChanged
    Event Type
    Type Description
    PropertyChangedEventHandler

    Explicit Interface Implementations

    IGraphChild.associatedElement

    Declaration
    [DoNotSerialize]
    IGraphElement IGraphChild.associatedElement { get; }
    Returns
    Type Description
    IGraphElement
    Implements
    IGraphChild.associatedElement

    IGraphChild.parentGraph

    Declaration
    [DoNotSerialize]
    IGraph IGraphChild.parentGraph { get; }
    Returns
    Type Description
    IGraph
    Implements
    IGraphChild.parentGraph

    ICollectionChild<IGraph>.parent

    Declaration
    [DoNotSerialize]
    IGraph ICollectionChild<IGraph>.parent { get; set; }
    Returns
    Type Description
    IGraph
    Implements
    ICollectionChild<TParent>.parent

    INotifiedCollectionChild<IGraph>.AfterAdd(IGraph)

    Declaration
    void INotifiedCollectionChild<IGraph>.AfterAdd(IGraph graph)
    Parameters
    Type Name Description
    IGraph graph
    Implements
    INotifiedCollectionChild<TParent>.AfterAdd(TParent)

    INotifiedCollectionChild<IGraph>.AfterRemove(IGraph)

    Declaration
    void INotifiedCollectionChild<IGraph>.AfterRemove(IGraph graph)
    Parameters
    Type Name Description
    IGraph graph
    Implements
    INotifiedCollectionChild<TParent>.AfterRemove(TParent)

    INotifiedCollectionChild<IGraph>.BeforeAdd(IGraph)

    Declaration
    void INotifiedCollectionChild<IGraph>.BeforeAdd(IGraph graph)
    Parameters
    Type Name Description
    IGraph graph
    Implements
    INotifiedCollectionChild<TParent>.BeforeAdd(TParent)

    INotifiedCollectionChild<IGraph>.BeforeRemove(IGraph)

    Declaration
    void INotifiedCollectionChild<IGraph>.BeforeRemove(IGraph graph)
    Parameters
    Type Name Description
    IGraph graph
    Implements
    INotifiedCollectionChild<TParent>.BeforeRemove(TParent)

    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)
    XObservableDisposable.EnsureNotDisposed(IObservableDisposable)
    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