C# Class MCAEmotiv.GUI.DisplayPointer

A class which can be used to wrap an object in a checked list box
Show file Open project: madelson/Emotiv-Experimenter

Public Methods

Method Description
DisplayPointer ( Func getter, object key = null ) : System

Construct a pointer with the specified getter and key

DisplayPointer ( string staticDisplayString, object key = null ) : System

Construct a display pointer with a static display string and the specified key

ToString ( ) : string

Forwards the call to the object returned by the getter

Method Details

DisplayPointer() public method

Construct a pointer with the specified getter and key
public DisplayPointer ( Func getter, object key = null ) : System
getter Func
key object
return System

DisplayPointer() public method

Construct a display pointer with a static display string and the specified key
public DisplayPointer ( string staticDisplayString, object key = null ) : System
staticDisplayString string
key object
return System

ToString() public method

Forwards the call to the object returned by the getter
public ToString ( ) : string
return string