Table of Contents

Class BrasilPluginActionHandler

Namespace
JJMasterData.Brasil.Actions
Assembly
JJMasterData.Brasil.dll
public abstract class BrasilPluginActionHandler : IPluginFieldActionHandler, IPluginHandler
Inheritance
BrasilPluginActionHandler
Implements
Derived
Inherited Members

Constructors

BrasilPluginActionHandler(ExpressionsService)

protected BrasilPluginActionHandler(ExpressionsService expressionsService)

Parameters

expressionsService ExpressionsService

Properties

ConfigurationFields

Optional additional parameters keys of the action at runtime. Examples: Procedure names, URLs, API keys

public IEnumerable<PluginConfigurationField> ConfigurationFields { get; }

Property Value

IEnumerable<PluginConfigurationField>

CustomConfigurationFields

protected virtual IEnumerable<PluginConfigurationField>? CustomConfigurationFields { get; }

Property Value

IEnumerable<PluginConfigurationField>

CustomFieldMapKeys

protected abstract IEnumerable<string> CustomFieldMapKeys { get; }

Property Value

IEnumerable<string>

FieldMapKeys

public IEnumerable<string> FieldMapKeys { get; }

Property Value

IEnumerable<string>

Id

Unique identifier of the plugin.

public abstract Guid Id { get; }

Property Value

Guid

Title

public abstract string Title { get; }

Property Value

string

Methods

ExecuteActionAsync(PluginFieldActionContext)

public Task<PluginActionResult> ExecuteActionAsync(PluginFieldActionContext context)

Parameters

context PluginFieldActionContext

Returns

Task<PluginActionResult>

GetResultAsync(PluginFieldActionContext)

protected abstract Task<Dictionary<string, object?>> GetResultAsync(PluginFieldActionContext context)

Parameters

context PluginFieldActionContext

Returns

Task<Dictionary<string, object>>