Show / Hide Table of Contents

Class MefConventionsRegistrarBase

Base class for MEF conventions registrars.

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

Methods

| 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 provided conventions are not MEF conventions.

| Improve this Doc View Source

RegisterConventions(ConventionBuilder, IList<Type>, ICompositionRegistrationContext)

Registers the conventions.

Declaration
protected abstract void RegisterConventions(ConventionBuilder builder, IList<Type> candidateTypes, ICompositionRegistrationContext registrationContext)
Parameters
Type Name Description
System.Composition.Convention.ConventionBuilder 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.

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