C# Класс NSoft.NFramework.Numerics.ComplexConverter

복소수 변환자
Наследование: System.ComponentModel.ExpandableObjectConverter
Показать файл Открыть проект

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

Метод Описание
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.

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

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

지정된 원본 형식으로부터 변환이 가능한지 알아본다.
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. ///
Результат bool

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

Complex가 원하는 형식으로 변환이 가능하지 검사한다.
public CanConvertTo ( ITypeDescriptorContext context, Type destinationType ) : bool
context ITypeDescriptorContext
destinationType System.Type
Результат bool

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

지정된 값을 Complex로 변환가능한지 검사한다.
public ConvertFrom ( ITypeDescriptorContext context, System culture, object value ) : object
context ITypeDescriptorContext
culture System
value object
Результат object

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

지정된 value의 수형이 Complex이면, destinationType으로 변환이 가능한지 검사한다.
public ConvertTo ( ITypeDescriptorContext context, System culture, object value, Type destinationType ) : object
context ITypeDescriptorContext
culture System
value object
destinationType System.Type
Результат object

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

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. ///
Результат StandardValuesCollection

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

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. ///
Результат bool