-
Notifications
You must be signed in to change notification settings - Fork 13
markdoccore IPlugin
Denis Akopyan edited this page Mar 6, 2022
·
1 revision
Interface for plugins
flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph MarkDoc.Core
MarkDoc.Core.IPlugin[[IPlugin]]
class MarkDoc.Core.IPlugin interfaceStyle;
end
Type | Name | Methods |
---|---|---|
string |
Author Plugin author |
get |
string |
Description Plugin description |
get |
string |
Id Plugin id |
get |
Stream |
Image Plugin image |
get |
string |
Name Plugin name |
get |
IReadOnlyCollection <string > |
Steps List of plugin step names |
get |
Returns | Name |
---|---|
(IMarkDocLogger logger, IReadOnlyCollection processes, Func executor) |
GenerateExecutor (IReadOnlyDictionary <string , IReadOnlyDictionary > configuration) |
IReadOnlyCollection |
GetPluginSteps ()Get the IPluginStep instances |
T |
GetSettings (IReadOnlyDictionary <string , IReadOnlyDictionary > data) |
Interface for plugins
public abstract IReadOnlyCollection GetPluginSteps()
Get the IPluginStep instances
public abstract T GetSettings<T>(IReadOnlyDictionary<string, IReadOnlyDictionary> data)
where T : ILibrarySettings
Type | Name | Description |
---|---|---|
IReadOnlyDictionary <string , IReadOnlyDictionary > |
data |
public abstract (IMarkDocLogger logger, IReadOnlyCollection processes, Func executor) GenerateExecutor(IReadOnlyDictionary<string, IReadOnlyDictionary> configuration)
Type | Name | Description |
---|---|---|
IReadOnlyDictionary <string , IReadOnlyDictionary > |
configuration |
public abstract string Id { get }
Plugin id
public abstract string Name { get }
Plugin name
public abstract string Description { get }
Plugin description
public abstract string Author { get }
Plugin author
public abstract Stream Image { get }
Plugin image
public abstract IReadOnlyCollection Steps { get }
List of plugin step names
Generated with MarkDoc