C# Класс nHydrate.Dsl.Design.Converters.VisibilityTypeEnumConverter

Flags enumeration type converter.
Наследование: System.ComponentModel.EnumConverter
Показать файл Открыть проект

Открытые методы

Метод Описание
CanConvertTo ( ITypeDescriptorContext context, Type destinationType ) : bool
ConvertTo ( ITypeDescriptorContext context, System culture, object value, Type destinationType ) : object
GetProperties ( ITypeDescriptorContext context, object value, Attribute attributes ) : PropertyDescriptorCollection

Retrieves the property descriptors for the enumeration fields. These property descriptors will be used by the property grid to show separate enumeration fields.

GetPropertiesSupported ( ITypeDescriptorContext context ) : bool
GetStandardValuesSupported ( ITypeDescriptorContext context ) : bool
VisibilityTypeEnumConverter ( Type type ) : System

Creates an instance of the FlagsEnumConverter class.

Описание методов

CanConvertTo() публичный Метод

public CanConvertTo ( ITypeDescriptorContext context, Type destinationType ) : bool
context ITypeDescriptorContext
destinationType System.Type
Результат bool

ConvertTo() публичный Метод

public ConvertTo ( ITypeDescriptorContext context, System culture, object value, Type destinationType ) : object
context ITypeDescriptorContext
culture System
value object
destinationType System.Type
Результат object

GetProperties() публичный Метод

Retrieves the property descriptors for the enumeration fields. These property descriptors will be used by the property grid to show separate enumeration fields.
public GetProperties ( ITypeDescriptorContext context, object value, Attribute attributes ) : PropertyDescriptorCollection
context ITypeDescriptorContext The current context.
value object A value of an enumeration type.
attributes System.Attribute
Результат System.ComponentModel.PropertyDescriptorCollection

GetPropertiesSupported() публичный Метод

public GetPropertiesSupported ( ITypeDescriptorContext context ) : bool
context ITypeDescriptorContext
Результат bool

GetStandardValuesSupported() публичный Метод

public GetStandardValuesSupported ( ITypeDescriptorContext context ) : bool
context ITypeDescriptorContext
Результат bool

VisibilityTypeEnumConverter() публичный Метод

Creates an instance of the FlagsEnumConverter class.
public VisibilityTypeEnumConverter ( Type type ) : System
type System.Type The type of the enumeration.
Результат System