Show / Hide Table of Contents

Class ExportFactoryRegistrationSource

An export factory registration source.

Inheritance
System.Object
ExportFactoryRegistrationSource
Implements
Autofac.Core.IRegistrationSource
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)
Namespace: Kephas.Composition.Autofac.Metadata
Assembly: Kephas.Composition.Autofac.dll
Syntax
public class ExportFactoryRegistrationSource : IRegistrationSource

Properties

| Improve this Doc View Source

IsAdapterForIndividualComponents

Gets a value indicating whether the registrations provided by this source are 1:1 adapters on top of other components (e.g., Meta, Func, or Owned).

Declaration
public bool IsAdapterForIndividualComponents { get; }
Property Value
Type Description
System.Boolean

True if this object is adapter for individual components, false if not.

Methods

| Improve this Doc View Source

RegistrationsFor(Service, Func<Service, IEnumerable<IComponentRegistration>>)

Retrieve registrations for an unregistered service, to be used by the container.

Declaration
public IEnumerable<IComponentRegistration> RegistrationsFor(Service service, Func<Service, IEnumerable<IComponentRegistration>> registrationAccessor)
Parameters
Type Name Description
Autofac.Core.Service service

The service that was requested.

System.Func<Autofac.Core.Service, System.Collections.Generic.IEnumerable<Autofac.Core.IComponentRegistration>> registrationAccessor

A function that will return existing registrations for a service.

Returns
Type Description
System.Collections.Generic.IEnumerable<Autofac.Core.IComponentRegistration>

Registrations providing the service.

| Improve this Doc View Source

ToString()

Returns a string that represents the current object.

Declaration
public override string ToString()
Returns
Type Description
System.String

A string that represents the current object.

Overrides
System.Object.ToString()

Implements

Autofac.Core.IRegistrationSource

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