Class Graph<T>
The base graph type for runtime representations of GraphResource assets.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Pelican7.UIGraph
Assembly: UI Graph API Documentation Project.dll
Syntax
public class Graph<T>
where T : class
Type Parameters
Name | Description |
---|---|
T |
Constructors
Graph(GraphResource)
Declaration
public Graph(GraphResource graphResource)
Parameters
Type | Name | Description |
---|---|---|
GraphResource | graphResource |
Methods
InstantiateInitialViewController()
Instantiate the graph's initial view controller.
Declaration
public T InstantiateInitialViewController()
Returns
Type | Description |
---|---|
T | An instance of the graph's initial view controller or null if none is set. |
InstantiateInitialViewController<TViewController>()
Instantiate the graph's initial view controller, specifying the type.
Declaration
public TViewController InstantiateInitialViewController<TViewController>()
where TViewController : class, T
Returns
Type | Description |
---|---|
TViewController | An instance of the graph's initial view controller or null if none is set. |
Type Parameters
Name | Description |
---|---|
TViewController |
InstantiateViewControllerWithIdentifier(String)
Instantiate the view controller as identified by identifier
in the graph.
Declaration
public T InstantiateViewControllerWithIdentifier(string identifier)
Parameters
Type | Name | Description |
---|---|---|
System.String | identifier |
Returns
Type | Description |
---|---|
T | An instance of the view controller identified by |
InstantiateViewControllerWithIdentifier<TViewController>(String)
Instantiate the view controller as identified by identifier
in the graph, specifying the type.
Declaration
public TViewController InstantiateViewControllerWithIdentifier<TViewController>(string identifier)
where TViewController : class, T
Parameters
Type | Name | Description |
---|---|---|
System.String | identifier |
Returns
Type | Description |
---|---|
TViewController | An instance of the view controller identified by |
Type Parameters
Name | Description |
---|---|
TViewController |