Class GraphElement<TGraph>
Inheritance
GraphElement<TGraph>
Syntax
public abstract class GraphElement<TGraph> : IGraphElement, IGraphChild, IObservableDisposable, IDisposable, INotifiedCollectionChild<IGraph>, ICollectionChild<IGraph>, IPrewarmable, IIdentifiable, INotifyPropertyChanged where TGraph : class, IGraph
Type Parameters
Constructors
GraphElement()
Declaration
Properties
dependencyOrder
Declaration
[DoNotSerialize]
public virtual int dependencyOrder { get; }
Property Value
Implements
deserializationDependencies
Declaration
public virtual IEnumerable<ISerializationDependency> deserializationDependencies { get; }
Property Value
Implements
guid
Declaration
[Serialize]
public Guid guid { get; set; }
Property Value
Implements
IsDisposed
Declaration
[DoNotSerialize]
public bool IsDisposed { get; }
Property Value
Implements
modules
Declaration
[DoNotSerialize]
public GraphElementModuleMergedCollection modules { get; }
Property Value
Implements
parentGraph
Declaration
[DoNotSerialize]
public TGraph parentGraph { get; set; }
Property Value
requiresInstantiation
Declaration
[DoNotSerialize]
public virtual bool requiresInstantiation { get; }
Property Value
Implements
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
Implements
Instantiate(GraphReference)
Declaration
public virtual void Instantiate(GraphReference instance)
Parameters
Implements
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
ToString()
Declaration
public override string ToString()
Returns
Overrides
Uninstantiate(GraphReference)
Declaration
public virtual void Uninstantiate(GraphReference instance)
Parameters
Implements
Events
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type |
Description |
PropertyChangedEventHandler |
|
Explicit Interface Implementations
IGraphChild.associatedElement
Declaration
[DoNotSerialize]
IGraphElement IGraphChild.associatedElement { get; }
Returns
Implements
IGraphChild.parentGraph
Declaration
[DoNotSerialize]
IGraph IGraphChild.parentGraph { get; }
Returns
Implements
ICollectionChild<IGraph>.parent
Declaration
[DoNotSerialize]
IGraph ICollectionChild<IGraph>.parent { get; set; }
Returns
Implements
INotifiedCollectionChild<IGraph>.AfterAdd(IGraph)
Declaration
void INotifiedCollectionChild<IGraph>.AfterAdd(IGraph graph)
Parameters
Type |
Name |
Description |
IGraph |
graph |
|
Implements
INotifiedCollectionChild<IGraph>.AfterRemove(IGraph)
Declaration
void INotifiedCollectionChild<IGraph>.AfterRemove(IGraph graph)
Parameters
Type |
Name |
Description |
IGraph |
graph |
|
Implements
INotifiedCollectionChild<IGraph>.BeforeAdd(IGraph)
Declaration
void INotifiedCollectionChild<IGraph>.BeforeAdd(IGraph graph)
Parameters
Type |
Name |
Description |
IGraph |
graph |
|
Implements
INotifiedCollectionChild<IGraph>.BeforeRemove(IGraph)
Declaration
void INotifiedCollectionChild<IGraph>.BeforeRemove(IGraph graph)
Parameters
Type |
Name |
Description |
IGraph |
graph |
|
Implements
Extension Methods