Show / Hide Table of Contents

Class AutofacConventionsRegistrarBase

An Autofac conventions registrar base.

Inheritance
System.Object
AutofacConventionsRegistrarBase
Implements
IConventionsRegistrar
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.Composition.Autofac.Conventions
Assembly: Kephas.Composition.Autofac.dll
Syntax
public abstract class AutofacConventionsRegistrarBase : IConventionsRegistrar

Methods

| Improve this Doc View Source

RegisterConventions(ContainerBuilder, IList<Type>, ICompositionRegistrationContext)

Registers the conventions.

Declaration
protected abstract void RegisterConventions(ContainerBuilder builder, IList<Type> candidateTypes, ICompositionRegistrationContext registrationContext)
Parameters
Type Name Description
Autofac.ContainerBuilder builder

The container builder.

System.Collections.Generic.IList<System.Type> candidateTypes

The candidate types which can take part in the composition.

ICompositionRegistrationContext registrationContext

Context for the registration.

| Improve this Doc View Source

RegisterConventions(IConventionsBuilder, IList<Type>, ICompositionRegistrationContext)

Registers the conventions.

Declaration
public void RegisterConventions(IConventionsBuilder builder, IList<Type> candidateTypes, ICompositionRegistrationContext registrationContext)
Parameters
Type Name Description
IConventionsBuilder builder

The registration builder.

System.Collections.Generic.IList<System.Type> candidateTypes

The candidate types which can take part in the composition.

ICompositionRegistrationContext registrationContext

Context for the registration.

Exceptions
Type Condition
System.InvalidOperationException

Thrown when the requested operation is invalid.

Implements

IConventionsRegistrar

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