Class PlugInHostContext
- Namespace
- Acuit.Pinpoint.Modularity
- Assembly
- Acuit.Pinpoint.Modularity.Abstractions.dll
Context about the host environment for an Acuit Pinpoint plug-in module.
public class PlugInHostContext
- Inheritance
-
PlugInHostContext
- Inherited Members
Constructors
PlugInHostContext(PlugInHostContext, IConfiguration)
Initializes a new instance of the PlugInHostContext class that uses the same Properties as a base context.
public PlugInHostContext(PlugInHostContext baseContext, IConfiguration configuration)
Parameters
baseContextPlugInHostContextThe base context to share properties with.
configurationIConfigurationThe configuration of the host environment.
Exceptions
- ArgumentNullException
baseContextis null.
PlugInHostContext(IConfiguration)
Initializes a new instance of the PlugInHostContext class.
public PlugInHostContext(IConfiguration configuration)
Parameters
configurationIConfigurationThe configuration of the host environment.
Properties
Configuration
The configuration of the host environment.
public IConfiguration Configuration { get; }
Property Value
Properties
A central location for sharing state between components during initialization.
public IDictionary<object, object?> Properties { get; }