Class GraphContext<TGraph, TCanvas>
Inheritance
GraphContext<TGraph, TCanvas>
Syntax
public abstract class GraphContext<TGraph, TCanvas> : IGraphContext, IDisposable where TGraph : class, IGraph where TCanvas : class, ICanvas
Type Parameters
Name |
Description |
TGraph |
|
TCanvas |
|
Constructors
GraphContext(GraphReference)
Declaration
protected GraphContext(GraphReference reference)
Parameters
Properties
analyserProvider
Declaration
public AnalyserProvider analyserProvider { get; }
Property Value
Implements
canvas
Declaration
public TCanvas canvas { get; }
Property Value
extensions
Declaration
public ReadOnlyCollection<IGraphContextExtension> extensions { get; }
Property Value
graph
Declaration
public TGraph graph { get; }
Property Value
graphMetadata
Declaration
public Metadata graphMetadata { get; }
Property Value
Implements
isPrefabInstance
Declaration
public bool isPrefabInstance { get; }
Property Value
Implements
reference
Declaration
public GraphReference reference { get; }
Property Value
Implements
selection
Declaration
public GraphSelection selection { get; }
Property Value
Implements
selectionMetadata
Declaration
public Metadata selectionMetadata { get; }
Property Value
Implements
Declaration
public ReadOnlyCollection<ISidebarPanelContent> sidebarPanels { get; }
Property Value
windowTitle
Declaration
public virtual string windowTitle { get; }
Property Value
Implements
Methods
BeginEdit(Boolean)
Declaration
public void BeginEdit(bool disablePrefabInstance = true)
Parameters
Type |
Name |
Description |
Boolean |
disablePrefabInstance |
|
Implements
DescribeAndAnalyze()
Declaration
public void DescribeAndAnalyze()
Implements
Dispose()
Declaration
public virtual void Dispose()
ElementMetadata(IGraphElement)
Declaration
public Metadata ElementMetadata(IGraphElement element)
Parameters
Returns
Implements
EndEdit()
Declaration
Implements
Declaration
protected virtual IEnumerable<ISidebarPanelContent> SidebarPanels()
Returns
Explicit Interface Implementations
IGraphContext.canvas
Declaration
ICanvas IGraphContext.canvas { get; }
Returns
Implements
IGraphContext.extensions
Declaration
IEnumerable<IGraphContextExtension> IGraphContext.extensions { get; }
Returns
Implements
IGraphContext.graph
Declaration
IGraph IGraphContext.graph { get; }
Returns
Implements
Declaration
IEnumerable<ISidebarPanelContent> IGraphContext.sidebarPanels { get; }
Returns
Implements
Extension Methods