Class AmbientServicesApplicationExtensions
Extension methods for the IAmbient
Inheritance
Inherited Members
Namespace: Kephas.Application
Assembly: Kephas.Core.dll
Syntax
public static class AmbientServicesApplicationExtensions
Methods
| Improve this Doc View SourceWithDynamicAppRuntime(IAmbientServices, Func<AssemblyName, Boolean>, String, String, String, Action<DynamicAppRuntime>)
Adds the dynamic application runtime to the ambient services.
Declaration
public static IAmbientServices WithDynamicAppRuntime(this IAmbientServices ambientServices, Func<AssemblyName, bool> assemblyFilter = null, string appLocation = null, string appId = null, string appVersion = null, Action<DynamicAppRuntime> config = null)
Parameters
Type | Name | Description |
---|---|---|
IAmbient |
ambientServices | The ambient services. |
System. |
assemblyFilter | Optional. A filter specifying the assembly. |
System. |
appLocation | Optional. The application location. |
System. |
appId | Optional. Identifier for the application. |
System. |
appVersion | Optional. The application version. |
System. |
config | Optional. The application runtime configuration callback. |
Returns
Type | Description |
---|---|
IAmbient |
The provided ambient services builder. |
Remarks
It uses the IAssembly
WithStaticAppRuntime(IAmbientServices, Func<AssemblyName, Boolean>, String, String, String, Action<StaticAppRuntime>)
Adds the static application runtime to the ambient services.
Declaration
public static IAmbientServices WithStaticAppRuntime(this IAmbientServices ambientServices, Func<AssemblyName, bool> assemblyFilter = null, string appLocation = null, string appId = null, string appVersion = null, Action<StaticAppRuntime> config = null)
Parameters
Type | Name | Description |
---|---|---|
IAmbient |
ambientServices | The ambient services. |
System. |
assemblyFilter | Optional. A filter specifying the assembly. |
System. |
appLocation | Optional. The application location. |
System. |
appId | Optional. Identifier for the application. |
System. |
appVersion | Optional. The application version. |
System. |
config | Optional. The application runtime configuration callback. |
Returns
Type | Description |
---|---|
IAmbient |
The provided ambient services builder. |
Remarks
It uses the IAssembly