TransformedCollection<TSourceCollection, TSourceElement, TTargetElement> Constructor
Namespace: Microsoft.TeamFoundation.MVVM
Assembly: Microsoft.TeamFoundation.Controls (in Microsoft.TeamFoundation.Controls.dll)
Syntax
'Declaration
Public Sub New ( _
sourceCollection As TSourceCollection, _
setup As Func(Of TSourceElement, TTargetElement), _
teardown As Action(Of TTargetElement) _
)
public TransformedCollection(
TSourceCollection sourceCollection,
Func<TSourceElement, TTargetElement> setup,
Action<TTargetElement> teardown
)
public:
TransformedCollection(
TSourceCollection sourceCollection,
Func<TSourceElement, TTargetElement>^ setup,
Action<TTargetElement>^ teardown
)
new :
sourceCollection:'TSourceCollection *
setup:Func<'TSourceElement, 'TTargetElement> *
teardown:Action<'TTargetElement> -> TransformedCollection
public function TransformedCollection(
sourceCollection : TSourceCollection,
setup : Func<TSourceElement, TTargetElement>,
teardown : Action<TTargetElement>
)
Parameters
- sourceCollection
Type: TSourceCollection
- setup
Type: System.Func<TSourceElement, TTargetElement>
- teardown
Type: System.Action<TTargetElement>
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
TransformedCollection<TSourceCollection, TSourceElement, TTargetElement> Class