Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class Microsoft.​Extensions.​FileProviders.​NullChangeToken

Assembly: Microsoft.Extensions.FileProviders.Abstractions

Inheritance: object → NullChangeToken

Implemented Interfaces

An empty change token that doesn't raise any change callbacks.

Properties

public bool
ActiveChangeCallbacks
Gets a value that's always <see langword="false" /> .
public bool
HasChanged
Gets a value that's always <see langword="false" /> .
public static NullChangeToken
Singleton
Gets a singleton instance of <see cref="T:Microsoft.Extensions.FileProviders.NullChangeToken" /> .

Methods

RegisterChangeCallback​(System.​Action<​object> callback, object state)
Always returns an empty disposable object. Callbacks will never be called.
Returns A disposable object that no-ops on dispose.
callback This parameter is ignored.
state This parameter is ignored.
public bool
Equals​(object obj)
Inherited from object
protected void
Finalize​()
Inherited from object
public int
GetHashCode​()
Inherited from object
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object