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

ScriptPluginV2 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.ScriptPluginV2[[ScriptPluginV2]]
  end
  subgraph SharedLibraryCore.Interfaces
  SharedLibraryCore.Interfaces.IPluginV2[[IPluginV2]]
  class SharedLibraryCore.Interfaces.IPluginV2 interfaceStyle;
  SharedLibraryCore.Interfaces.IModularAssembly[[IModularAssembly]]
  class SharedLibraryCore.Interfaces.IModularAssembly interfaceStyle;
  end
SharedLibraryCore.Interfaces.IPluginV2 --> IW4MAdmin.Application.Plugin.Script.ScriptPluginV2
SharedLibraryCore.Interfaces.IModularAssembly --> SharedLibraryCore.Interfaces.IPluginV2

Members

Properties

Public properties

Type Name Methods
string Author get, private set
string Name get, private set
string Version get, private set

Methods

Public methods

Returns Name
void ExecuteWithErrorHandling(Action<Engine> work)
object QueryWithErrorHandling(Delegate action, object``[] args)

Details

Inheritance

Nested types

Classes

  • EnumsToStringConverter

Constructors

ScriptPluginV2

Source code

public ScriptPluginV2(string fileName, ILogger<ScriptPluginV2> logger, IScriptPluginServiceResolver pluginServiceResolver, IScriptCommandFactory scriptCommandFactory, IConfigurationHandlerV2<ScriptPluginConfiguration> configHandler, IInteractionRegistration interactionRegistration)
Arguments
Type Name Description
string fileName
ILogger<ScriptPluginV2> logger
IScriptPluginServiceResolver pluginServiceResolver
IScriptCommandFactory scriptCommandFactory
IConfigurationHandlerV2<ScriptPluginConfiguration> configHandler
IInteractionRegistration interactionRegistration

Methods

ExecuteWithErrorHandling

Source code

public void ExecuteWithErrorHandling(Action<Engine> work)
Arguments
Type Name Description
Action<Engine> work

QueryWithErrorHandling

Source code

public object QueryWithErrorHandling(Delegate action, object[] args)
Arguments
Type Name Description
Delegate action
object``[] args

Properties

Name

public virtual string Name { get; private set; }

Author

public virtual string Author { get; private set; }

Version

public virtual string Version { get; private set; }

Generated with ModularDoc