C# 클래스 IdeaBlade.Windows.ParameterTypeConverter

TypeConverter for the Parameter type.
상속: System.ComponentModel.TypeConverter
파일 보기 프로젝트 열기: IdeaBlade/DevForce.Utilities

공개 메소드들

메소드 설명
CanConvertFrom ( ITypeDescriptorContext context, Type sourceType ) : bool

Returns true if converting from a string to a Parameter.

CanConvertTo ( ITypeDescriptorContext context, Type destinationType ) : bool

Returns true if converting from a Parameter to a string.

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

Returns a Parameter from the given string.

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

Returns the string representation of a Parameter.

메소드 상세

CanConvertFrom() 공개 메소드

Returns true if converting from a string to a Parameter.
public CanConvertFrom ( ITypeDescriptorContext context, Type sourceType ) : bool
context ITypeDescriptorContext
sourceType System.Type
리턴 bool

CanConvertTo() 공개 메소드

Returns true if converting from a Parameter to a string.
public CanConvertTo ( ITypeDescriptorContext context, Type destinationType ) : bool
context ITypeDescriptorContext
destinationType System.Type
리턴 bool

ConvertFrom() 공개 메소드

Returns a Parameter from the given string.
public ConvertFrom ( ITypeDescriptorContext context, CultureInfo culture, object value ) : object
context ITypeDescriptorContext
culture System.Globalization.CultureInfo
value object
리턴 object

ConvertTo() 공개 메소드

Returns the string representation of a Parameter.
public ConvertTo ( ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType ) : object
context ITypeDescriptorContext
culture System.Globalization.CultureInfo
value object
destinationType System.Type
리턴 object