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)

System::Object
  Microsoft.WindowsServerSolutions.Common.ProviderFramework::ObservableCollectionHelper<TPublicType, TWireType>

generic<typename TPublicType, typename TWireType>
where TPublicType : ref class
public ref class ObservableCollectionHelper 

Type Parameters

TPublicType

The public type that is exposed.

TWireType

The data contract object that represents the public type.

NameDescription
System_CAPS_pubmethodObservableCollectionHelper<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.

System_CAPS_pubmethodObservableCollectionHelper<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.

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetReadOnlyObservableCollection()

Returns a ReadOnlyObservableCollection<T> that is managed by this class.

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodRemoveItem(TWireType)

Removes an item from the collection.

System_CAPS_pubmethodSetList(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.

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodUpdateData(TWireType)

Updates the data for the specified wire type.

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top

Community Additions

ADD
Show: