IExtensionPartLazyCollection<T> Interface

Definition

An interface for being notified of collection changes on extension parts implementing a certain contract.

public interface IExtensionPartLazyCollection<T> : IDisposable where T : class
type IExtensionPartLazyCollection<'T (requires 'T : null)> = interface
    interface IDisposable
Public Interface IExtensionPartLazyCollection(Of T)
Implements IDisposable

Type Parameters

T

Contract type that extension parts would implement.

Implements

Methods

Activate()

Starts the monitoring of the collection, this method should be called once the event handlers are registered.

Events

PartsAdded

An event that is raised when new parts are added to the collection.

PartsRemoved

An event that is raised when parts are removed from the collection due to service availability changes.

Applies to