Class Runtime
This class provides a host for dependency resolver and access to the command dispatcher if it is needed
from standard functions.
The first time it is accessed (typically by the first function call) its static constructor will kick in
and it will create the necessary environment for the functions based on the Setup() block of the function
app configuration.
Inheritance
System.Object
Runtime
Assembly: FunctionMonkey.dll
Syntax
public static class Runtime : object
Properties
|
Improve this Doc
View Source
FunctionProvidedLogger
Declaration
public static AsyncLocal<ILogger> FunctionProvidedLogger { get; }
Property Value
Type |
Description |
AsyncLocal<ILogger> |
|
|
Improve this Doc
View Source
FunctionServiceProvider
Declaration
public static AsyncLocal<IServiceProvider> FunctionServiceProvider { get; }
Property Value
Type |
Description |
AsyncLocal<IServiceProvider> |
|
|
Improve this Doc
View Source
Declaration
public static IMediatorDecorator Mediator { get; }
Property Value
|
Improve this Doc
View Source
PluginFunctions
Declaration
public static Dictionary<string, PluginFunctions> PluginFunctions { get; }
Property Value
|
Improve this Doc
View Source
ServiceProvider
Declaration
public static IServiceProvider ServiceProvider { get; }
Property Value
Type |
Description |
IServiceProvider |
|
Methods
|
Improve this Doc
View Source
InitializeFromStartup(IServiceCollection)
Declaration
public static void InitializeFromStartup(IServiceCollection serviceCollection)
Parameters
Type |
Name |
Description |
IServiceCollection |
serviceCollection |
|