C# Class Foobricator.Tools.DataReference

A reference to another named source object.
Inheritance: IDebugInfoProvider
ファイルを表示 Open project: geoffles/Foobricator Class Usage Examples

Public Methods

Method Description
CurrentContext ( ) : object>.IDictionary

Get the current context of named sources.

DataReference ( object>.IDictionary context, string key ) : System

Initalise against a context.

Dereference ( ) : object

Resolve the named object from the context bound to this reference.

ToString ( string format, IFormatProvider formatProvider ) : string

Dereferences and tries to get a string value. See Details.

Method Details

CurrentContext() public static method

Get the current context of named sources.
public static CurrentContext ( ) : object>.IDictionary
return object>.IDictionary

DataReference() public method

Initalise against a context.
public DataReference ( object>.IDictionary context, string key ) : System
context object>.IDictionary
key string
return System

Dereference() public method

Resolve the named object from the context bound to this reference.
public Dereference ( ) : object
return object

ToString() public method

Dereferences and tries to get a string value. See Details.
public ToString ( string format, IFormatProvider formatProvider ) : string
format string
formatProvider IFormatProvider
return string