C# Class NSoft.NFramework.Numerics.ComplexConverter

복소수 변환자
Inheritance: System.ComponentModel.ExpandableObjectConverter
Datei anzeigen Open project: debop/NFramework

Public Methods

Method Description
CanConvertFrom ( ITypeDescriptorContext context, Type sourceType ) : bool

지정된 원본 형식으로부터 변환이 가능한지 알아본다.

CanConvertTo ( ITypeDescriptorContext context, Type destinationType ) : bool

Complex가 원하는 형식으로 변환이 가능하지 검사한다.

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

지정된 값을 Complex로 변환가능한지 검사한다.

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

지정된 value의 수형이 Complex이면, destinationType으로 변환이 가능한지 검사한다.

GetStandardValues ( ITypeDescriptorContext context ) : StandardValuesCollection

Returns a collection of standard values for the data type this type converter is designed for when provided with a format context.

GetStandardValuesSupported ( ITypeDescriptorContext context ) : bool

Returns whether this object supports a standard set of values that can be picked from a list, using the specified context.

Method Details

CanConvertFrom() public method

지정된 원본 형식으로부터 변환이 가능한지 알아본다.
public CanConvertFrom ( ITypeDescriptorContext context, Type sourceType ) : bool
context ITypeDescriptorContext /// An that provides a format context. ///
sourceType System.Type /// A that represents the type you want to convert from. ///
return bool

CanConvertTo() public method

Complex가 원하는 형식으로 변환이 가능하지 검사한다.
public CanConvertTo ( ITypeDescriptorContext context, Type destinationType ) : bool
context ITypeDescriptorContext
destinationType System.Type
return bool

ConvertFrom() public method

지정된 값을 Complex로 변환가능한지 검사한다.
public ConvertFrom ( ITypeDescriptorContext context, System culture, object value ) : object
context ITypeDescriptorContext
culture System
value object
return object

ConvertTo() public method

지정된 value의 수형이 Complex이면, destinationType으로 변환이 가능한지 검사한다.
public ConvertTo ( ITypeDescriptorContext context, System culture, object value, Type destinationType ) : object
context ITypeDescriptorContext
culture System
value object
destinationType System.Type
return object

GetStandardValues() public method

Returns a collection of standard values for the data type this type converter is designed for when provided with a format context.
public GetStandardValues ( ITypeDescriptorContext context ) : StandardValuesCollection
context ITypeDescriptorContext /// An that provides a format context /// that can be used to extract additional information about the environment from which this converter is invoked. /// This parameter or properties of this parameter can be null. ///
return StandardValuesCollection

GetStandardValuesSupported() public method

Returns whether this object supports a standard set of values that can be picked from a list, using the specified context.
public GetStandardValuesSupported ( ITypeDescriptorContext context ) : bool
context ITypeDescriptorContext /// An that provides a format context. ///
return bool