Class ServiceBase
Assembly: cs.temp.dll.dll
Syntax
public abstract class ServiceBase : IService, IInjectable
Fields
_isInitialized
Declaration
protected bool _isInitialized
Field Value
_unityEventListener
Declaration
protected IUnityEventListener _unityEventListener
Field Value
Properties
IsInitialized
Declaration
public virtual bool IsInitialized { get; }
Property Value
Methods
Cleanup()
Declaration
public virtual void Cleanup()
CleanupService()
Declaration
protected abstract void CleanupService()
Initialize()
In the default implementation, we initialize the service first before setting the
_isInitialized. The order is important here.
Declaration
public virtual void Initialize()
InitializeService()
Declaration
protected abstract void InitializeService()
Inject(IResolver)
Declaration
public virtual void Inject(IResolver resolver)
Parameters
Events
OnInitialized
Declaration
public event Action<IService> OnInitialized
Event Type
Implements