Class BoltClassShellTrait
Inheritance
BoltClassShellTrait
Syntax
[RenamedFrom("Ludiq.Bolt.ClassHost")]
[RenamedFrom("Ludiq.Bolt.BoltClassHost")]
public class BoltClassShellTrait : INotifyPropertyChanged, IGraphRootSerializer, IDisposable, IBoltClassShellApi, IBoltTypeShellApi, ISerializationDepender, ISerializationCallbackReceiver
Constructors
BoltClassShellTrait()
Declaration
public BoltClassShellTrait()
Properties
class
Declaration
[DoNotSerialize]
public BoltClass class { get; set; }
Property Value
deserializationDependencies
Declaration
public IEnumerable<ISerializationDependency> deserializationDependencies { get; }
Property Value
Implements
isGenerated
Declaration
[DoNotSerialize]
public bool isGenerated { get; }
Property Value
isIdle
Declaration
[DoNotSerialize]
public bool isIdle { get; }
Property Value
isLive
Declaration
[DoNotSerialize]
public bool isLive { get; }
Property Value
shell
Declaration
[DoNotSerialize]
public IBoltClassShell shell { get; set; }
Property Value
shellDeserializationDependencies
Declaration
public IEnumerable<ISerializationDependency> shellDeserializationDependencies { get; }
Property Value
variableOverrides
Declaration
[DoNotSerialize]
public IReadOnlyDictionary<Guid, object> variableOverrides { get; }
Property Value
Methods
Activate()
Declaration
Activate(BoltApiMemberIdentifier)
Declaration
public void Activate(BoltApiMemberIdentifier member)
Parameters
Implements
AddEventHandler(BoltClassEvent, BoltClassEventHandler)
Declaration
public void AddEventHandler(BoltClassEvent event, BoltClassEventHandler handler)
Parameters
AsGenerated()
Declaration
public object AsGenerated()
Returns
CanDeserializeGraphRoot(String)
Declaration
public bool CanDeserializeGraphRoot(string data)
Parameters
Type |
Name |
Description |
String |
data |
|
Returns
Implements
ClearVariableOverride(BoltClassVariable)
Declaration
public bool ClearVariableOverride(BoltClassVariable variable)
Parameters
Returns
ClearVariableOverrides()
Declaration
public void ClearVariableOverrides()
CreateTransientGraphInstance(IBoltClassGraph)
Declaration
public GraphReference CreateTransientGraphInstance(IBoltClassGraph graph)
Parameters
Returns
Deactivate()
Declaration
Deactivate(BoltApiMemberIdentifier)
Declaration
public void Deactivate(BoltApiMemberIdentifier member)
Parameters
Implements
DeserializeGraphRoot(String)
Declaration
public IGraphRoot DeserializeGraphRoot(string data)
Parameters
Type |
Name |
Description |
String |
data |
|
Returns
Implements
Dispose()
Declaration
Get<T>(BoltApiMemberIdentifier)
Declaration
public T Get<T>(BoltApiMemberIdentifier member)
Parameters
Returns
Type Parameters
Implements
GetGraphDefinition(IBoltClassGraph)
Declaration
public GraphReference GetGraphDefinition(IBoltClassGraph graph)
Parameters
Returns
GetGraphInstance(IBoltClassGraph)
Declaration
public GraphReference GetGraphInstance(IBoltClassGraph graph)
Parameters
Returns
GetGraphReference(IBoltClassGraph)
Declaration
public GraphReference GetGraphReference(IBoltClassGraph graph)
Parameters
Returns
GetMemberID(Guid)
Declaration
public BoltApiMemberIdentifier GetMemberID(Guid guid)
Parameters
Type |
Name |
Description |
Guid |
guid |
|
Returns
Implements
GetMemberID(String)
Declaration
public BoltApiMemberIdentifier GetMemberID(string name)
Parameters
Type |
Name |
Description |
String |
name |
|
Returns
Implements
GetOrCreateGraphInstance(IBoltClassGraph)
Declaration
public GraphReference GetOrCreateGraphInstance(IBoltClassGraph graph)
Parameters
Returns
GetTransientVariable(BoltClassVariable)
Declaration
public object GetTransientVariable(BoltClassVariable variable)
Parameters
Returns
GetVariable(BoltClassVariable)
Declaration
public object GetVariable(BoltClassVariable variable)
Parameters
Returns
GetVariableOverride(BoltClassVariable)
Declaration
public object GetVariableOverride(BoltClassVariable variable)
Parameters
Returns
HasTransientVariable(BoltClassVariable)
Declaration
public bool HasTransientVariable(BoltClassVariable variable)
Parameters
Returns
HasVariableOverride(BoltClassVariable)
Declaration
public bool HasVariableOverride(BoltClassVariable variable)
Parameters
Returns
Initialize()
Declaration
InitializeGenerated<T>()
Declaration
public T InitializeGenerated<T>()
Returns
Type Parameters
Invoke<TResult>(BoltApiMemberIdentifier, Object[])
Declaration
public TResult Invoke<TResult>(BoltApiMemberIdentifier member, params object[] args)
Parameters
Returns
Type Parameters
Implements
InvokeEvent(BoltClassEvent, Object[])
Declaration
public void InvokeEvent(BoltClassEvent event, object[] args)
Parameters
InvokeEvent(EventHookID)
Declaration
protected void InvokeEvent(EventHookID id)
Parameters
InvokeEvent<TArgs>(EventHookID, TArgs)
Declaration
protected void InvokeEvent<TArgs>(EventHookID id, TArgs args)
Parameters
Type Parameters
IsActive(BoltApiMemberIdentifier)
Declaration
public bool IsActive(BoltApiMemberIdentifier member)
Parameters
Returns
Implements
ManualInvokeEvent(EventHookID)
Declaration
protected void ManualInvokeEvent(EventHookID eventHookID)
Parameters
OnAfterDependenciesDeserialized()
Declaration
public void OnAfterDependenciesDeserialized()
Implements
OnAfterShellDependenciesDeserialized()
Declaration
public void OnAfterShellDependenciesDeserialized()
OnBeforeShellDeserialize()
Declaration
public void OnBeforeShellDeserialize()
RemoveEventHandler(BoltClassEvent, BoltClassEventHandler)
Declaration
public void RemoveEventHandler(BoltClassEvent event, BoltClassEventHandler handler)
Parameters
SerializeGraphRoot(IGraphRoot)
Declaration
public string SerializeGraphRoot(IGraphRoot root)
Parameters
Returns
Implements
Set<T>(BoltApiMemberIdentifier, T)
Declaration
public void Set<T>(BoltApiMemberIdentifier member, T value)
Parameters
Type Parameters
Implements
SetTransientVariable(BoltClassVariable, Object)
Declaration
public void SetTransientVariable(BoltClassVariable variable, object value)
Parameters
SetVariable(BoltClassVariable, Object)
Declaration
public void SetVariable(BoltClassVariable variable, object value)
Parameters
SetVariableOverride(BoltClassVariable, Object)
Declaration
public void SetVariableOverride(BoltClassVariable variable, object value)
Parameters
ToGenerated()
Declaration
public object ToGenerated()
Returns
Toggle(BoltApiMemberIdentifier)
Declaration
public bool Toggle(BoltApiMemberIdentifier member)
Parameters
Returns
Implements
ToString()
Declaration
public override string ToString()
Returns
ValidateVariableOverrides()
Declaration
public void ValidateVariableOverrides()
Events
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type |
Description |
PropertyChangedEventHandler |
|
Extension Methods