IComponentManager Interface
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.
Custom composition manager that allows mapping between Guid and components that implement IIdentifiedComponent. Used for generators, post actions, different implementations of installers, providers...
public interface IComponentManager
type IComponentManager = interface
Public Interface IComponentManager
Add |
Adds component to manager, which can be looked up later via TryGetComponent<T>(Guid, T) or OfType<T>(). |
Of |
Returns all components of specified type. |
Register(Type) |
Obsolete.
Adds component to manager, which can be looked up later via TryGetComponent<T>(Guid, T) or OfType<T>(). |
Register |
Obsolete.
Adds list of components to manager, which can be looked up later via TryGetComponent<T>(Guid, T) or OfType<T>(). |
Try |
Gets specific component via Guid. E.g: to lookup implementation of "Restore NuGet packages" post action, pass in {210D431B-A78B-4D2F-B762-4ED3E3EA9025} Guid. |
Proizvod | Verzije |
---|---|
Template Engine | 6.0.100, 7.0.100 |