1 iw4madminapplicationpluginscript ScriptPluginTimerHelper
RaidMax edited this page 2023-05-20 22:09:21 -05:00

ScriptPluginTimerHelper Public class

Diagram

  flowchart LR
  classDef interfaceStyle stroke-dasharray: 5 5;
  classDef abstractStyle stroke-width:4px
  subgraph IW4MAdmin.Application.Plugin.Script
  IW4MAdmin.Application.Plugin.Script.ScriptPluginTimerHelper[[ScriptPluginTimerHelper]]
  end
  subgraph SharedLibraryCore.Interfaces
  SharedLibraryCore.Interfaces.IScriptPluginTimerHelper[[IScriptPluginTimerHelper]]
  class SharedLibraryCore.Interfaces.IScriptPluginTimerHelper interfaceStyle;
  end
SharedLibraryCore.Interfaces.IScriptPluginTimerHelper --> IW4MAdmin.Application.Plugin.Script.ScriptPluginTimerHelper

Members

Properties

Public properties

Type Name Methods
bool IsRunning get, private set

Methods

Protected methods

Returns Name
void Finalize()

Public methods

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

Details

Inheritance

Constructors

ScriptPluginTimerHelper

Source code

public ScriptPluginTimerHelper(ILogger<ScriptPluginTimerHelper> logger)
Arguments
Type Name Description
ILogger<ScriptPluginTimerHelper> logger

Methods

Finalize

Source code

protected override void Finalize()

Start [1/3]

Source code

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

Start [2/3]

Source code

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

Start [3/3]

Source code

public virtual void Start()

Stop

Source code

public virtual void Stop()

OnTick

Source code

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

SetDependency

Source code

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

Properties

IsRunning

public virtual bool IsRunning { get; private set; }

Generated with ModularDoc