IExtensionPartLazyCollection<T> Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |