C# Class Synapse.Application.Services.PluginHandle

Represents the default IPluginHandle implementation
Inheritance: IPluginHandle
Mostra file Open project: serverlessworkflow/synapse

Public Methods

Method Description
Dispose ( ) : void
DisposeAsync ( ) : ValueTask
GetPlugin ( ) : IPlugin
LoadAsync ( CancellationToken stoppingToken ) : ValueTask
PluginHandle ( IServiceProvider serviceProvider, PluginMetadata metadata, string metadataFilePath ) : Synapse.Infrastructure.Plugins

Initializes a new PluginHandle

ToString ( ) : string
Unload ( ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Disposes of the IPluginManager

DisposeAsync ( bool disposing ) : ValueTask

Disposes of the IPluginManager

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

Disposes of the IPluginManager
protected Dispose ( bool disposing ) : void
disposing bool A boolean indicating whether or not the is being disposed of
return void

DisposeAsync() public method

public DisposeAsync ( ) : ValueTask
return ValueTask

DisposeAsync() protected method

Disposes of the IPluginManager
protected DisposeAsync ( bool disposing ) : ValueTask
disposing bool A boolean indicating whether or not the is being disposed of
return ValueTask

GetPlugin() public method

public GetPlugin ( ) : IPlugin
return IPlugin

LoadAsync() public method

public LoadAsync ( CancellationToken stoppingToken ) : ValueTask
stoppingToken CancellationToken
return ValueTask

PluginHandle() public method

Initializes a new PluginHandle
public PluginHandle ( IServiceProvider serviceProvider, PluginMetadata metadata, string metadataFilePath ) : Synapse.Infrastructure.Plugins
serviceProvider IServiceProvider The current
metadata PluginMetadata An object used to describe the handled
metadataFilePath string The path to the handled file
return Synapse.Infrastructure.Plugins

ToString() public method

public ToString ( ) : string
return string

Unload() public method

public Unload ( ) : void
return void