Class CaseInsensitiveEnumConfigConverter<T>
A case-insensitive configuration converter for enumerations.
Inheritance
System.Object
System.ComponentModel.TypeConverter
System.Configuration.ConfigurationConverterBase
Namespace: Umbraco.Core.Configuration
Assembly: Umbraco.Core.dll
Syntax
public class CaseInsensitiveEnumConfigConverter<T> : ConfigurationConverterBase where T : struct
Type Parameters
Name | Description |
---|---|
T | The type of the enumeration. |
Methods
View SourceConvertFrom(ITypeDescriptorContext, CultureInfo, Object)
Declaration
public override object ConvertFrom(ITypeDescriptorContext ctx, CultureInfo ci, object data)
Parameters
Type | Name | Description |
---|---|---|
System.ComponentModel.ITypeDescriptorContext | ctx | |
System.Globalization.CultureInfo | ci | |
System.Object | data |
Returns
Type | Description |
---|---|
System.Object |