ModelReloadToken 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.
Implements IChangeToken
public class ModelReloadToken : Microsoft.Extensions.Primitives.IChangeToken
type ModelReloadToken = class
interface IChangeToken
Public Class ModelReloadToken
Implements IChangeToken
- Inheritance
-
ModelReloadToken
- Implements
Constructors
ModelReloadToken() |
Properties
ActiveChangeCallbacks |
Indicates if this token will proactively raise callbacks. |
HasChanged |
Gets a value that indicates if a change has occurred. |
Methods
OnReload() |
Used to trigger the change token when a reload occurs. |
RegisterChangeCallback(Action<Object>, Object) |
Registers for a callback that will be invoked when the entry has changed. HasChanged MUST be set before the callback is invoked. |