OptionsSnapshot<TOptions> class abstract

Used to access the value of TOptions for the lifetime of a request.

Implemented types

Constructors

OptionsSnapshot()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value → TOptions?
The default configured TOptions instance.
no setterinherited

Methods

get(String? name) → TOptions?
Returns a configured TOptions instance with the given name.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited