StiExpressionBoolConverter Class

Namespace: Stimulsoft.Base.Localization

Provides a type converter to convert Boolean objects to and from various other representations.

Inheritance

Inherits from: StiBoolConverter

Methods

Method Returns Description
CanConvertFrom bool  
ConvertFrom object  
ConvertTo object  
GetStandardValuesExclusive bool  

Method Details

CanConvertFrom

CanConvertFrom(context: ITypeDescriptorContext, sourceType: Type): bool

Parameters

  • context (ITypeDescriptorContext)
  • sourceType (Type)

Returns bool


ConvertFrom

ConvertFrom(context: ITypeDescriptorContext, culture: CultureInfo, value: object): object

Parameters

  • context (ITypeDescriptorContext)
  • culture (CultureInfo)
  • value (object)

Returns object


ConvertTo

ConvertTo(context: ITypeDescriptorContext, culture: CultureInfo, value: object, destinationType: Type): object

Parameters

  • context (ITypeDescriptorContext)
  • culture (CultureInfo)
  • value (object)
  • destinationType (Type)

Returns object


GetStandardValuesExclusive

GetStandardValuesExclusive(context: ITypeDescriptorContext): bool

Parameters

  • context (ITypeDescriptorContext)

Returns bool