Click or drag to resize
CalculatedPropertyCreateTSource, TTarget Method (IEnumerableIPropertyINotifyPropertyChanged, TSource, FuncIEnumerableTSource, TTarget, IPropertyNotifyPropertyChanged, TTarget)

Namespace: Lawo.ComponentModel
Assembly: Lawo (in Lawo.dll) Version: 1.4.1707.27006
Syntax
C#
public static CalculatedProperty<TTarget> Create<TSource, TTarget>(
	IEnumerable<IProperty<INotifyPropertyChanged, TSource>> sources,
	Func<IEnumerable<TSource>, TTarget> toTarget,
	IProperty<NotifyPropertyChanged, TTarget> target
)

Parameters

sources
Type: System.Collections.GenericIEnumerableIPropertyINotifyPropertyChanged, TSource
toTarget
Type: SystemFuncIEnumerableTSource, TTarget
target
Type: Lawo.ReflectionIPropertyNotifyPropertyChanged, TTarget

Type Parameters

TSource
The type of the source properties.
TTarget
The type of the target property.

Return Value

Type: CalculatedPropertyTTarget
Exceptions
ExceptionCondition
ArgumentNullExceptionAt least one of the arguments is equal to null.
See Also