C# 클래스 nHydrate.Dsl.Design.Converters.VisibilityTypeEnumConverter

Flags enumeration type converter.
상속: System.ComponentModel.EnumConverter
파일 보기 프로젝트 열기: nHydrate/nHydrate

공개 메소드들

메소드 설명
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