Class LiteCompositionContainerBuilder
A lightweight composition container builder.
Inheritance
System.Object
LiteCompositionContainerBuilder
Implements
Inherited Members
CompositionContainerBuilderBase<LiteCompositionContainerBuilder>.WithRegistration(IAppServiceInfo[])
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.Composition.Lite.Hosting
Assembly: Kephas.Core.dll
Syntax
public class LiteCompositionContainerBuilder : CompositionContainerBuilderBase<LiteCompositionContainerBuilder>, ICompositionContainerBuilder
Constructors
| Improve this Doc View SourceLiteCompositionContainerBuilder(ICompositionRegistrationContext)
Initializes a new instance of the LiteCompositionContainerBuilder class.
Declaration
public LiteCompositionContainerBuilder(ICompositionRegistrationContext context)
Parameters
Type | Name | Description |
---|---|---|
ICompositionRegistrationContext | context | The context. |
Methods
| Improve this Doc View SourceCreateContainerCore(IConventionsBuilder, IEnumerable<Type>)
Creates a new composition container based on the provided conventions and assembly parts.
Declaration
protected override ICompositionContext CreateContainerCore(IConventionsBuilder conventions, IEnumerable<Type> parts)
Parameters
Type | Name | Description |
---|---|---|
IConventionsBuilder | conventions | The conventions. |
System.Collections.Generic.IEnumerable<System.Type> | parts | The parts candidating for composition. |
Returns
Type | Description |
---|---|
ICompositionContext | A new composition container. |
Overrides
Kephas.Composition.Hosting.CompositionContainerBuilderBase<Kephas.Composition.Lite.Hosting.LiteCompositionContainerBuilder>.CreateContainerCore(Kephas.Composition.Conventions.IConventionsBuilder, System.Collections.Generic.IEnumerable<System.Type>)
|
Improve this Doc
View Source
CreateConventionsBuilder()
Factory method for creating the conventions builder.
Declaration
protected override IConventionsBuilder CreateConventionsBuilder()
Returns
Type | Description |
---|---|
IConventionsBuilder | A newly created conventions builder. |
Overrides
Kephas.Composition.Hosting.CompositionContainerBuilderBase<Kephas.Composition.Lite.Hosting.LiteCompositionContainerBuilder>.CreateConventionsBuilder()