C# 클래스 RaumfeldNET.WPFControls.MathConverter

Value converter that performs arithmetic calculations over its argument(s)
MathConverter can act as a value converter, or as a multivalue converter (WPF only). It is also a markup extension (WPF only) which allows to avoid declaring resources, ConverterParameter must contain an arithmetic expression over converter arguments. Operations supported are +, -, * and / Single argument of a value converter may referred as x, a, or {0} Arguments of multi value converter may be referred as x,y,z,t (first-fourth argument), or a,b,c,d, or {0}, {1}, {2}, {3}, {4}, ... The converter supports arithmetic expressions of arbitrary complexity, including nested subexpressions
상속: System.Windows.Markup.MarkupExtension, IMultiValueConverter, IValueConverter
파일 보기 프로젝트 열기: stoennies/raumwiese

공개 메소드들

메소드 설명
Convert ( object value, Type targetType, object parameter, CultureInfo culture ) : object
ConvertBack ( object value, Type targetType, object parameter, CultureInfo culture ) : object
ConvertBack ( object value, Type targetTypes, object parameter, CultureInfo culture ) : object[]
ProvideValue ( IServiceProvider serviceProvider ) : object

보호된 메소드들

메소드 설명
ProcessException ( Exception ex ) : void

비공개 메소드들

메소드 설명
Parse ( string s ) : IExpression

메소드 상세

Convert() 공개 메소드

public Convert ( object value, Type targetType, object parameter, CultureInfo culture ) : object
value object
targetType System.Type
parameter object
culture System.Globalization.CultureInfo
리턴 object

ConvertBack() 공개 메소드

public ConvertBack ( object value, Type targetType, object parameter, CultureInfo culture ) : object
value object
targetType System.Type
parameter object
culture System.Globalization.CultureInfo
리턴 object

ConvertBack() 공개 메소드

public ConvertBack ( object value, Type targetTypes, object parameter, CultureInfo culture ) : object[]
value object
targetTypes System.Type
parameter object
culture System.Globalization.CultureInfo
리턴 object[]

ProcessException() 보호된 메소드

protected ProcessException ( Exception ex ) : void
ex System.Exception
리턴 void

ProvideValue() 공개 메소드

public ProvideValue ( IServiceProvider serviceProvider ) : object
serviceProvider IServiceProvider
리턴 object