1 iw4madminapplicationplugin PluginImporter
RaidMax edited this page 2023-05-20 22:09:21 -05:00

PluginImporter Public class

Description

implementation of IPluginImporter discovers plugins and script plugins

Diagram

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

Members

Methods

Public methods

Returns Name
(IEnumerable<Type> Item1, IEnumerable<Type> Item2, IEnumerable<Type> Item3) DiscoverAssemblyPluginImplementations()
discovers all the C# assembly plugins and commands
IEnumerable<(Type Item1, string Item2)> DiscoverScriptPlugins()
discovers all the script plugins in the plugins dir

Details

Summary

implementation of IPluginImporter discovers plugins and script plugins

Inheritance

Constructors

PluginImporter

Source code

public PluginImporter(ILogger<PluginImporter> logger, ApplicationConfiguration appConfig, IMasterApi masterApi, IRemoteAssemblyHandler remoteAssemblyHandler)
Arguments
Type Name Description
ILogger<PluginImporter> logger
ApplicationConfiguration appConfig
IMasterApi masterApi
IRemoteAssemblyHandler remoteAssemblyHandler

Methods

DiscoverScriptPlugins

Source code

public virtual IEnumerable<(Type Item1, string Item2)> DiscoverScriptPlugins()
Summary

discovers all the script plugins in the plugins dir

Returns

DiscoverAssemblyPluginImplementations

Source code

public virtual (IEnumerable<Type> Item1, IEnumerable<Type> Item2, IEnumerable<Type> Item3) DiscoverAssemblyPluginImplementations()
Summary

discovers all the C# assembly plugins and commands

Returns

Generated with ModularDoc