1 sharedlibrarycoreinterfaces IScriptPluginTimerHelper
RaidMax edited this page 2023-05-20 22:09:21 -05:00

IScriptPluginTimerHelper Public interface

Diagram

  flowchart LR
  classDef interfaceStyle stroke-dasharray: 5 5;
  classDef abstractStyle stroke-width:4px
  subgraph SharedLibraryCore.Interfaces
  SharedLibraryCore.Interfaces.IScriptPluginTimerHelper[[IScriptPluginTimerHelper]]
  class SharedLibraryCore.Interfaces.IScriptPluginTimerHelper interfaceStyle;
  end

Members

Properties

Public properties

Type Name Methods
bool IsRunning get

Methods

Public methods

Returns Name
void OnTick(Delegate action, string actionName)
void SetDependency(SemaphoreSlim dependentSemaphore)
void Start(...)
void Stop()

Details

Methods

Start [1/3]

public void Start(int delay, int interval)
Arguments
Type Name Description
int delay
int interval

Start [2/3]

Source code

public void Start(int interval)
Arguments
Type Name Description
int interval

Start [3/3]

Source code

public void Start()

Stop

Source code

public void Stop()

OnTick

Source code

public void OnTick(Delegate action, string actionName)
Arguments
Type Name Description
Delegate action
string actionName

SetDependency

Source code

public void SetDependency(SemaphoreSlim dependentSemaphore)
Arguments
Type Name Description
SemaphoreSlim dependentSemaphore

Properties

IsRunning

public bool IsRunning { get; }

Generated with ModularDoc