C# Класс Spring.Expressions.ExpressionConverter

Converts string representation of expression into an instance of IExpression.
Наследование: System.ComponentModel.TypeConverter
Показать файл Открыть проект

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

Метод Описание
CanConvertFrom ( ITypeDescriptorContext context, Type sourceType ) : bool

Can we convert from a the sourcetype to a IExpression?

Currently only supports conversion from a System.String instance.

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

Convert from a System.String value to an IExpression instance.

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

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

Can we convert from a the sourcetype to a IExpression?

Currently only supports conversion from a System.String instance.

public CanConvertFrom ( ITypeDescriptorContext context, Type sourceType ) : bool
context ITypeDescriptorContext /// A /// that provides a format context. ///
sourceType System.Type /// A that represents the /// you want to convert from. ///
Результат bool

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

Convert from a System.String value to an IExpression instance.
public ConvertFrom ( ITypeDescriptorContext context, CultureInfo culture, object value ) : object
context ITypeDescriptorContext /// A /// that provides a format context. ///
culture System.Globalization.CultureInfo /// The to use /// as the current culture. ///
value object /// The value that is to be converted. ///
Результат object