Class ServiceOptions
Specifies the general service behavior.
Inheritance
ServiceOptions
Assembly: Solti.Utils.DI.Interfaces.dll
Syntax
public sealed class ServiceOptions : Object
Constructors
ServiceOptions()
Declaration
Properties
AutoInject
If set to true, the system tries to resolve required properties, too.
Declaration
public bool AutoInject { get; set; }
Property Value
Default
Declaration
public static ServiceOptions Default { get; }
Property Value
DependencyResolvers
User defined dependency resolvers. Leave blank to use the default ones.
Declaration
public IReadOnlyList<IDependencyResolver> DependencyResolvers { get; set; }
Property Value
DisposalMode
Contains the descriptor how to dispose created service instances.
Declaration
public ServiceDisposalMode DisposalMode { get; set; }
Property Value
ProxyEngine
The proxy engine to be used. Leave blank to use the default engine.
Declaration
public IProxyEngine ProxyEngine { get; set; }
Property Value
SupportAspects
If set to true, the system tries to apply proxies defined via AspectAttribute class.
Declaration
public bool SupportAspects { get; set; }
Property Value
Methods
<Clone>$()
Declaration
public ServiceOptions <Clone>$()
Returns
Equals(ServiceOptions)
Declaration
public bool Equals(ServiceOptions 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(ServiceOptions, ServiceOptions)
Declaration
public static bool operator ==(ServiceOptions left, ServiceOptions right)
Parameters
Returns
Inequality(ServiceOptions, ServiceOptions)
Declaration
public static bool operator !=(ServiceOptions left, ServiceOptions right)
Parameters
Returns
Implements