C# Class Nanook.QueenBee.Parser.GenericQbItem

Afficher le fichier Open project: Nanook/Queen-Bee Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

public CanConvertTo ( Type toType ) : bool
toType System.Type
Résultat bool

ConvertTo() public méthode

public ConvertTo ( Type toType ) : string
toType System.Type
Résultat string

GenericQbItem() public méthode

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
Résultat System

GenericQbItem() public méthode

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
Résultat System

GenericQbItem() public méthode

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
Résultat System

GenericQbItem() public méthode

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
Résultat System

GenericQbItem() public méthode

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
Résultat System

GenericQbItem() public méthode

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
Résultat System

GetTypeName() public static méthode

public static GetTypeName ( Type t ) : string
t System.Type
Résultat string

IsTypeSupported() public static méthode

public static IsTypeSupported ( Type t ) : bool
t System.Type
Résultat bool

ToByteArray() public méthode

public ToByteArray ( ) : byte[]
Résultat byte[]

ToInt32() public méthode

public ToInt32 ( ) : int
Résultat int

ToQbKey() public méthode

public ToQbKey ( ) : QbKey
Résultat QbKey

ToSingle() public méthode

public ToSingle ( ) : float
Résultat float

ToString() public méthode

public ToString ( ) : string
Résultat string

ToUInt32() public méthode

public ToUInt32 ( ) : uint
Résultat uint

ValidateText() public static méthode

public static ValidateText ( Type t, Type editType, string text ) : string
t System.Type
editType System.Type
text string
Résultat string