Interface IService
All IdleKit Services implement this interface. A Service handles logic involving different components or externally communication with non-IdleKit domains.
Inherited Members
Namespace: IdleKit.Core
Assembly: cs.temp.dll.dll
Syntax
public interface IService : IInjectable
Properties
IsInitialized
Returns true if the service is initialized.
Declaration
bool IsInitialized { get; }
Property Value
Type | Description |
---|---|
Boolean |
Methods
Cleanup()
Cleans up any state to allow it to be garbage collected.
Declaration
void Cleanup()
Initialize()
Starts service initialization. Any derived classes should call this after they have fully initialized.
Declaration
void Initialize()
Events
OnInitialized
Dispatched when the service is fully initialized.
Declaration
event Action<IService> OnInitialized
Event Type
Type | Description |
---|---|
Action<IService> |