Class ServiceBase<TDependencies>
Base class for any service which expects a Dependencies class
[InternalApi_DoNotUse_MayChangeWithoutNotice]
public abstract class ServiceBase<TDependencies> : ServiceBase, IHasLog where TDependencies : DependenciesBase
Type Parameters
TDependencies
- Inheritance
-
objectServiceBase<TDependencies>
- Implements
- Derived
- Inherited Members
Constructors
ServiceBase(TDependencies, string, NoParamOrder, object[]?)
Constructor for normal case, with services
protected ServiceBase(TDependencies services, string logName, NoParamOrder protect = default, object[]? connect = null)
Parameters
services
TDependenciesDependencies to auto-attach to property
Services
logName
stringThe new objects name in the logs
protect
NoParamOrderconnect
object[]Optional array of services to connect the logs to.
Fields
Services
The services which came through the TDependencies services
in the constructor.
protected readonly TDependencies Services
Field Value
- TDependencies