Class AmbientServicesAutofacExtensions
Autofac related ambient services builder extensions.
Inheritance
System.Object
AmbientServicesAutofacExtensions
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
Assembly: Kephas.Composition.Autofac.dll
Syntax
public static class AmbientServicesAutofacExtensions
Methods
| Improve this Doc View SourceWithAutofacCompositionContainer(IAmbientServices, Action<AutofacCompositionContainerBuilder>)
Sets the composition container to the ambient services.
Declaration
public static IAmbientServices WithAutofacCompositionContainer(this IAmbientServices ambientServices, Action<AutofacCompositionContainerBuilder> containerBuilderConfig = null)
Parameters
Type | Name | Description |
---|---|---|
IAmbientServices | ambientServices | The ambient services. |
System.Action<AutofacCompositionContainerBuilder> | containerBuilderConfig | The container builder configuration. |
Returns
Type | Description |
---|---|
IAmbientServices | The provided ambient services builder. |