Class AmbientServicesPluginsExtensions
The plugins ambient services builder extensions.
Inheritance
System.Object
AmbientServicesPluginsExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Kephas.Plugins.Application
Assembly: Kephas.Plugins.dll
Syntax
public static class AmbientServicesPluginsExtensions
Methods
| Improve this Doc View SourceWithPluginsAppRuntime(IAmbientServices, Func<AssemblyName, Boolean>, String, String, String, IExpando, Nullable<Boolean>, String, String)
Sets the plugins-enabled application runtime to the ambient services.
Declaration
public static IAmbientServices WithPluginsAppRuntime(this IAmbientServices ambientServices, Func<AssemblyName, bool> assemblyFilter = null, string appLocation = null, string appId = null, string appVersion = null, IExpando appArgs = null, bool? enablePlugins = default(bool? ), string pluginsFolder = null, string targetFramework = null)
Parameters
Type | Name | Description |
---|---|---|
IAmbientServices | ambientServices | The ambient services. |
System.Func<System.Reflection.AssemblyName, System.Boolean> | assemblyFilter | Optional. A filter specifying the assembly. |
System.String | appLocation | Optional. The application location. If not specified, the assembly location is used. |
System.String | appId | Optional. Identifier for the application. |
System.String | appVersion | Optional. The application version. |
IExpando | appArgs | Optional. the application arguments. |
System.Nullable<System.Boolean> | enablePlugins | Optional. True to enable, false to disable the plugins. |
System.String | pluginsFolder | Optional. Pathname of the plugins folder. |
System.String | targetFramework | Optional. target framework. |
Returns
Type | Description |
---|---|
IAmbientServices | The provided ambient services. |