OptionsSnapshot<TOptions> Class

Definition

generic <typename TOptions>
 where TOptions : class, gcnew()public ref class OptionsSnapshot : Microsoft::Extensions::Options::IOptionsSnapshot<TOptions>
public class OptionsSnapshot<TOptions> : Microsoft.Extensions.Options.IOptionsSnapshot<TOptions> where TOptions : class, new()
type OptionsSnapshot<'Options (requires 'Options : null and 'Options : (new : unit -> 'Options))> = class
    interface IOptionsSnapshot<'Options (requires 'Options : null and 'Options : (new : unit -> 'Options))>
Public Class OptionsSnapshot(Of TOptions)
Implements IOptionsSnapshot(Of TOptions)

Type Parameters

TOptions

The options type.

Inheritance
OptionsSnapshot<TOptions>
Implements

Constructors

OptionsSnapshot<TOptions>(IOptionsMonitor<TOptions>)

Initializes a new instance.

Properties

Value

The configured options instance.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to