HotReloadHelper<T> 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.
Used to help VisualStudio.Extensibility feature areas implement hot reload, aiming to make it easier to load and unload extension provided metadata at runtime.
public abstract class HotReloadHelper<T> : Microsoft.VisualStudio.Shell.Internal.AsyncDisposableObject, IDisposable, Microsoft.Internal.VisualStudio.Extensibility.Framework.IExtensionMetadataObserver where T : HotReloadHelperInitializationArgs
type HotReloadHelper<'T (requires 'T :> HotReloadHelperInitializationArgs)> = class
inherit AsyncDisposableObject
interface IExtensionMetadataObserver
interface IDisposable
Public MustInherit Class HotReloadHelper(Of T)
Inherits AsyncDisposableObject
Implements IDisposable, IExtensionMetadataObserver
Type Parameters
- T
The type of HotReloadHelperInitializationArgs needed to initialize this helper.
- Inheritance
- Implements
Constructors
HotReloadHelper<T>(HotReloadHelperInitializationArgs) |
Create an instance of HotReloadHelper<T>. |
Properties
DependentSections |
Gets the set of extension metadata sections that need to be processed before the sections that this class initialized. |
DiagnosticsConfiguration |
Gets a logger for diagnostics. |
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) |
JoinableTaskFactory |
Gets a JoinableTaskFactory that can be used to manage threading. |
SectionMetadataManagers |
Gets the set of ExtensionSectionMetadataManager instances that are used to deserialize extension metadata. The deserializers will be queried in the order that they appear in the collection when processing metadata changes. |
ServiceBroker |
Gets an IServiceBroker that can be used to acquire brokered services. |
TraceSource |
Gets a TraceSource that can be used for logging. |
Methods
Events
Disposing |
Raised when the event is being disposed, while it is still accessible. (Inherited from AsyncDisposableObject) |
Explicit Interface Implementations
IDisposable.Dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |