ExtensionSectionMetadataModelManager<TSectionMetadata,TModel> Class
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.
Represents the base class for managing models created from registrations provided by extensions.
public abstract class ExtensionSectionMetadataModelManager<TSectionMetadata,TModel> : Microsoft.Internal.VisualStudio.Extensibility.Framework.ExtensionSectionMetadataManager, Microsoft.Internal.VisualStudio.Extensibility.Framework.IExtensibilityModelProvider<TModel> where TSectionMetadata : class, IExtensionSectionMetadata where TModel : class, IExtensibilityModel
type ExtensionSectionMetadataModelManager<'SectionMetadata, 'Model (requires 'SectionMetadata : null and 'SectionMetadata :> IExtensionSectionMetadata and 'Model : null and 'Model :> IExtensibilityModel)> = class
inherit ExtensionSectionMetadataManager
interface IExtensibilityModelProvider<'Model (requires 'Model : null and 'Model :> IExtensibilityModel)>
Public MustInherit Class ExtensionSectionMetadataModelManager(Of TSectionMetadata, TModel)
Inherits ExtensionSectionMetadataManager
Implements IExtensibilityModelProvider(Of TModel)
Type Parameters
- TSectionMetadata
The type that the extension metadata can be deserialized into.
- TModel
The type that can be created based on the registrations.
- Inheritance
-
ExtensionSectionMetadataModelManager<TSectionMetadata,TModel>
- Implements
Constructors
ExtensionSectionMetadataModelManager<TSectionMetadata,TModel>(String) |
Creates an instance of a ExtensionSectionMetadataModelManager<TSectionMetadata,TModel>. |
Properties
DiagnosticsManager |
Gets or sets the IExtensibilityDiagnosticManager that is used to log diagnostics. (Inherited from ExtensionSectionMetadataManager) |
DisposeToken |
Gets a token that signals cancellation when this object is disposed. (Inherited from AsyncDisposableObject) |
IsDisposed |
Gets a value indicating whether the object has been disposed once, protects against double disposal. (Inherited from AsyncDisposableObject) |
IsDisposing |
Gets a value indicating whether the object is in the process of being disposed. (Inherited from AsyncDisposableObject) |
Models |
Gets the models owned by the provider. |
SectionName |
Gets the name of the extension metadata section that this class deserializes from. (Inherited from ExtensionSectionMetadataManager) |
Methods
Events
Disposing |
Raised when the event is being disposed, while it is still accessible. (Inherited from AsyncDisposableObject) |