ObservableCollectionHelper<TPublicType, TWireType> Constructor (Func<TWireType, TPublicType>, Action<TPublicType, TWireType>)
Initializes a new instance of the ObservableCollectionHelper<TPublicType, TWireType> class with the specified public type builder and the specified update.
Namespace: Microsoft.WindowsServerSolutions.Common.ProviderFramework
Assembly: ProviderFramework (in ProviderFramework.dll)
Syntax
public ObservableCollectionHelper(
Func<TWireType, TPublicType> publicTypeBuilder,
Action<TPublicType, TWireType> update
)
public:
ObservableCollectionHelper(
Func<TWireType, TPublicType>^ publicTypeBuilder,
Action<TPublicType, TWireType>^ update
)
Public Sub New (
publicTypeBuilder As Func(Of TWireType, TPublicType),
update As Action(Of TPublicType, TWireType)
)
Parameters
publicTypeBuilder
Type: System.Func<TWireType, TPublicType>A function that builds a public type from a wire type.
update
Type: System.Action<TPublicType, TWireType>A function that updates a public type based on a new wire type.
See Also
ObservableCollectionHelper<TPublicType, TWireType> Overload
ObservableCollectionHelper<TPublicType, TWireType> Class
Microsoft.WindowsServerSolutions.Common.ProviderFramework Namespace
Return to top