C# Class Synapse.Application.Services.PluginHandle

Represents the default IPluginHandle implementation
Inheritance: IPluginHandle
Afficher le fichier Open project: serverlessworkflow/synapse

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Disposes of the IPluginManager

DisposeAsync ( bool disposing ) : ValueTask

Disposes of the IPluginManager

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

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

DisposeAsync() public méthode

public DisposeAsync ( ) : ValueTask
Résultat ValueTask

DisposeAsync() protected méthode

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

GetPlugin() public méthode

public GetPlugin ( ) : IPlugin
Résultat IPlugin

LoadAsync() public méthode

public LoadAsync ( CancellationToken stoppingToken ) : ValueTask
stoppingToken CancellationToken
Résultat ValueTask

PluginHandle() public méthode

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
Résultat Synapse.Infrastructure.Plugins

ToString() public méthode

public ToString ( ) : string
Résultat string

Unload() public méthode

public Unload ( ) : void
Résultat void