Show / Hide Table of Contents

Interface IPartBuilder

Interface for part builder.

Namespace: Kephas.Composition.Conventions
Assembly: Kephas.Core.dll
Syntax
public interface IPartBuilder

Methods

| Improve this Doc View Source

AllowMultiple(Boolean)

Indicates that this service allows multiple registrations.

Declaration
IPartBuilder AllowMultiple(bool value)
Parameters
Type Name Description
System.Boolean value

True if multiple service registrations are allowed, false otherwise.

Returns
Type Description
IPartBuilder

A part builder allowing further configuration of the part.

| Improve this Doc View Source

Scoped()

Mark the part as being shared within the scope.

Declaration
IPartBuilder Scoped()
Returns
Type Description
IPartBuilder

A part builder allowing further configuration of the part.

| Improve this Doc View Source

Singleton()

Mark the part as being shared within the entire composition.

Declaration
IPartBuilder Singleton()
Returns
Type Description
IPartBuilder

A part builder allowing further configuration of the part.

Extension Methods

DynamicObjectExtensions.SetPropertyValue(Object, String, Object)
DynamicObjectExtensions.TrySetPropertyValue(Object, String, Object)
DynamicObjectExtensions.GetPropertyValue(Object, String)
DynamicObjectExtensions.TryGetPropertyValue(Object, String, out Object)
DynamicObjectExtensions.GetRuntimeTypeInfo(Object)
DynamicObjectExtensions.ToDynamic(Object)
DynamicObjectExtensions.ToExpando(Object)
BehaviorValue.ToBehaviorValue<TValue>(TValue)
CollectionExtensions.AddRange<T, TItem>(T, IEnumerable<TItem>)
LoggingExtensions.GetLogger(Object, IContext)
TypeExtensions.GetAbstractType(Object)
TypeExtensions.GetAbstractTypeInfo(Object)
ReflectionHelper.GetTypeInfo(Object)
EntityEntryExtensions.TryGetAttachedEntityEntry(Object)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX