Class ScopeOptions
Specifies the scope behavior.
Assembly: Solti.Utils.DI.Interfaces.dll
Syntax
public sealed class ScopeOptions : Object
Constructors
ScopeOptions()
Declaration
Properties
Default
Declaration
public static ScopeOptions Default { get; }
Property Value
ResolutionLockTimeout
Specifies the maximum amount of time to wait to acquire the resolution lock.
Declaration
public TimeSpan ResolutionLockTimeout { get; set; }
Property Value
ServiceResolutionMode
Specifies the service resolution mode.
Declaration
public ServiceResolutionMode ServiceResolutionMode { get; set; }
Property Value
StrictDI
Instructs the system to throw if
Declaration
public bool StrictDI { get; set; }
Property Value
SupportsServiceProvider
Specifies whether the created scopes should implement the IServiceProvider interface.
Declaration
public bool SupportsServiceProvider { get; set; }
Property Value
Methods
<Clone>$()
Declaration
public ScopeOptions <Clone>$()
Returns
Equals(ScopeOptions)
Declaration
public bool Equals(ScopeOptions other)
Parameters
Returns
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
ToString()
Declaration
public override string ToString()
Returns
Operators
Equality(ScopeOptions, ScopeOptions)
Declaration
public static bool operator ==(ScopeOptions left, ScopeOptions right)
Parameters
Returns
Inequality(ScopeOptions, ScopeOptions)
Declaration
public static bool operator !=(ScopeOptions left, ScopeOptions right)
Parameters
Returns
Implements