Method | Description | |
---|---|---|
CanConvertFrom ( ITypeDescriptorContext context, |
Returns True when sourceType is a String.
|
|
CanConvertTo ( ITypeDescriptorContext context, |
Returns True when destinationType is a String.
|
|
ConvertFrom ( ITypeDescriptorContext context, |
Converts a String in the short form like "omus" to a LoggingPolicies enumeration.
|
|
ConvertTo ( ITypeDescriptorContext context, |
Converts a LoggingPolicies to a short form String like "voicewarmup".
|
Method | Description | |
---|---|---|
LoggingPoliciesConverter ( ) : System | ||
TryParse ( string value, LoggingPolicies &mode ) : bool |
public CanConvertFrom ( ITypeDescriptorContext context, |
||
context | ITypeDescriptorContext | Additional context for conversion. |
sourceType | The type of the source object. | |
return | bool |
public CanConvertTo ( ITypeDescriptorContext context, |
||
context | ITypeDescriptorContext | Additional context for conversion. |
destinationType | The type of the destination object. | |
return | bool |
public ConvertFrom ( ITypeDescriptorContext context, |
||
context | ITypeDescriptorContext | Additional context for conversion. |
culture | The culture to use for conversion. | |
value | object | The |
return | object |
public ConvertTo ( ITypeDescriptorContext context, |
||
context | ITypeDescriptorContext | Additional context for conversion. |
culture | The culture to use for conversion. | |
value | object | The |
destinationType | The type of the destination object. | |
return | object |