C# Class Simpl.Serialization.Types.Scalar.ColorType

Inheritance: ColorTypeBase
Mostra file Open project: ecologylab/simplCSharp

Public Methods

Method Description
ColorStringToBrush ( string name ) : Color?
ColorType ( ) : System
ColorType ( Type thatClass, string javaTypeName, string objectiveCTypeName, string dbTypeName ) : System
GetInstance ( string value, string formatStrings, IScalarUnmarshallingContext scalarUnmarshallingContext ) : object
Marshall ( object instance, TranslationContext context = null ) : string

Private Methods

Method Description
RgbToBrush ( string value ) : Color?

Method Details

ColorStringToBrush() public method

public ColorStringToBrush ( string name ) : Color?
name string
return Color?

ColorType() public method

public ColorType ( ) : System
return System

ColorType() public method

public ColorType ( Type thatClass, string javaTypeName, string objectiveCTypeName, string dbTypeName ) : System
thatClass System.Type
javaTypeName string
objectiveCTypeName string
dbTypeName string
return System

GetInstance() public method

public GetInstance ( string value, string formatStrings, IScalarUnmarshallingContext scalarUnmarshallingContext ) : object
value string
formatStrings string
scalarUnmarshallingContext IScalarUnmarshallingContext
return object

Marshall() public method

public Marshall ( object instance, TranslationContext context = null ) : string
instance object
context Simpl.Serialization.Context.TranslationContext
return string