Table of Contents

Method Get

Namespace
Pinwheel.Vista.Graph
Assembly
Pinwheel.Vista.Runtime.dll

Get(Type)

Returns the node metadata attribute declared on a node type.

public static NodeMetadataAttribute Get(Type nodeType)

Parameters

nodeType Type

The node type to inspect.

Returns

NodeMetadataAttribute

The attached NodeMetadataAttribute, or null when the type does not declare one.

Get<T>()

Returns the node metadata attribute declared on a node type specified by its CLR type argument.

public static NodeMetadataAttribute Get<T>()

Returns

NodeMetadataAttribute

Type Parameters

T