ObservableCollectionHelper<TPublicType, TWireType> Class
Represents the methods that are used to manage a collection of observable objects.
Namespace: Microsoft.WindowsServerSolutions.Common.ProviderFramework
Assembly: ProviderFramework (in ProviderFramework.dll)
Inheritance Hierarchy
System.Object
Microsoft.WindowsServerSolutions.Common.ProviderFramework.ObservableCollectionHelper<TPublicType, TWireType>
Syntax
public class ObservableCollectionHelper<TPublicType, TWireType>
where TPublicType : class
generic<typename TPublicType, typename TWireType>
where TPublicType : ref class
public ref class ObservableCollectionHelper
Public Class ObservableCollectionHelper(Of TPublicType As Class, TWireType)
Type Parameters
- TPublicType
The public type that is exposed.
- TWireType
The data contract object that represents the public type.
Constructors
Name | Description | |
---|---|---|
ObservableCollectionHelper<TPublicType, TWireType>(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. |
|
ObservableCollectionHelper<TPublicType, TWireType>(Func<TWireType, TPublicType>, Action<TPublicType, TWireType>, IEqualityComparer<TWireType>) | Initializes a new instance of the ObservableCollectionHelper<TPublicType, TWireType> class with the specified public type builder, the specified update, and the specified comparison object. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetReadOnlyObservableCollection() | Returns a ReadOnlyObservableCollection<T> that is managed by this class. |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
RemoveItem(TWireType) | Removes an item from the collection. |
|
SetList(IEnumerable<TWireType>) | Sets the contents of the collection. This class is typically used to set the initial contents of the list or to refresh the list after a reconnection. |
|
ToString() | (Inherited from Object.) |
|
UpdateData(TWireType) | Updates the data for the specified wire type. |
Thread Safety
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.WindowsServerSolutions.Common.ProviderFramework Namespace
Return to top