C# Class Nanook.QueenBee.Parser.GenericQbItem

Datei anzeigen Open project: Nanook/Queen-Bee Class Usage Examples

Public Methods

Method Description
CanConvertTo ( Type toType ) : bool
ConvertTo ( Type toType ) : string
GenericQbItem ( string name, QbKey value, Type editType, bool readOnly, bool useQbItemType, QbItemType qbType, string sourceProperty ) : System
GenericQbItem ( string name, byte value, Type editType, bool readOnly, bool useQbItemType, QbItemType qbType, string sourceProperty ) : System
GenericQbItem ( string name, float value, Type editType, bool readOnly, bool useQbItemType, QbItemType qbType, string sourceProperty ) : System
GenericQbItem ( string name, int value, Type editType, bool readOnly, bool useQbItemType, QbItemType qbType, string sourceProperty ) : System
GenericQbItem ( string name, string value, Type editType, bool readOnly, bool useQbItemType, QbItemType qbType, string sourceProperty ) : System
GenericQbItem ( string name, uint value, Type editType, bool readOnly, bool useQbItemType, QbItemType qbType, string sourceProperty ) : System
GetTypeName ( Type t ) : string
IsTypeSupported ( Type t ) : bool
ToByteArray ( ) : byte[]
ToInt32 ( ) : int
ToQbKey ( ) : QbKey
ToSingle ( ) : float
ToString ( ) : string
ToUInt32 ( ) : uint
ValidateText ( Type t, Type editType, string text ) : string

Private Methods

Method Description
GenericQbItem ( ) : System
GenericQbItem ( string name, Type editType, bool readOnly, bool useQbItemType, QbItemType qbType, string sourceProperty ) : System
convert ( string text, Type toType ) : byte[]
convert ( Type toType ) : string

Convert text representations

getToError ( Type orig, Type to ) : string

Method Details

CanConvertTo() public method

public CanConvertTo ( Type toType ) : bool
toType System.Type
return bool

ConvertTo() public method

public ConvertTo ( Type toType ) : string
toType System.Type
return string

GenericQbItem() public method

public GenericQbItem ( string name, QbKey value, Type editType, bool readOnly, bool useQbItemType, QbItemType qbType, string sourceProperty ) : System
name string
value QbKey
editType System.Type
readOnly bool
useQbItemType bool
qbType QbItemType
sourceProperty string
return System

GenericQbItem() public method

public GenericQbItem ( string name, byte value, Type editType, bool readOnly, bool useQbItemType, QbItemType qbType, string sourceProperty ) : System
name string
value byte
editType System.Type
readOnly bool
useQbItemType bool
qbType QbItemType
sourceProperty string
return System

GenericQbItem() public method

public GenericQbItem ( string name, float value, Type editType, bool readOnly, bool useQbItemType, QbItemType qbType, string sourceProperty ) : System
name string
value float
editType System.Type
readOnly bool
useQbItemType bool
qbType QbItemType
sourceProperty string
return System

GenericQbItem() public method

public GenericQbItem ( string name, int value, Type editType, bool readOnly, bool useQbItemType, QbItemType qbType, string sourceProperty ) : System
name string
value int
editType System.Type
readOnly bool
useQbItemType bool
qbType QbItemType
sourceProperty string
return System

GenericQbItem() public method

public GenericQbItem ( string name, string value, Type editType, bool readOnly, bool useQbItemType, QbItemType qbType, string sourceProperty ) : System
name string
value string
editType System.Type
readOnly bool
useQbItemType bool
qbType QbItemType
sourceProperty string
return System

GenericQbItem() public method

public GenericQbItem ( string name, uint value, Type editType, bool readOnly, bool useQbItemType, QbItemType qbType, string sourceProperty ) : System
name string
value uint
editType System.Type
readOnly bool
useQbItemType bool
qbType QbItemType
sourceProperty string
return System

GetTypeName() public static method

public static GetTypeName ( Type t ) : string
t System.Type
return string

IsTypeSupported() public static method

public static IsTypeSupported ( Type t ) : bool
t System.Type
return bool

ToByteArray() public method

public ToByteArray ( ) : byte[]
return byte[]

ToInt32() public method

public ToInt32 ( ) : int
return int

ToQbKey() public method

public ToQbKey ( ) : QbKey
return QbKey

ToSingle() public method

public ToSingle ( ) : float
return float

ToString() public method

public ToString ( ) : string
return string

ToUInt32() public method

public ToUInt32 ( ) : uint
return uint

ValidateText() public static method

public static ValidateText ( Type t, Type editType, string text ) : string
t System.Type
editType System.Type
text string
return string