MetadataModuleTInterface, TMetadata Class |
Namespace: Autofac.Extras.AttributeMetadata
public abstract class MetadataModule<TInterface, TMetadata> : Module, IMetadataRegistrar<TInterface, TMetadata>
The MetadataModuleTInterface, TMetadata type exposes the following members.
Name | Description | |
---|---|---|
![]() | MetadataModuleTInterface, TMetadata | Initializes a new instance of the MetadataModuleTInterface, TMetadata class |
Name | Description | |
---|---|---|
![]() | ContainerBuilder |
Gets the builder used to build an IContainer from component registrations.
|
![]() | ThisAssembly |
Gets the assembly in which the concrete module type is located. To avoid bugs whereby deriving from a module will
change the target assembly, this property can only be used by modules that inherit directly from
Module.
(Inherited from Module.) |
Name | Description | |
---|---|---|
![]() | AttachToComponentRegistration |
Override to attach module-specific functionality to a
component registration.
(Inherited from Module.) |
![]() | AttachToRegistrationSource |
Override to perform module-specific processing on a registration source.
(Inherited from Module.) |
![]() | Configure |
Apply the module to the component registry.
(Inherited from Module.) |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | Load |
Standard module method being overridden and sealed to provide wrapped metadata registration.
(Overrides ModuleLoad(ContainerBuilder).) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | Register |
Override this method to execute metadata registration operations.
|
![]() | RegisterAttributedType(Type) |
Registers the provided concrete instance type and scans it for generate metadata data.
|
![]() | RegisterAttributedTypeTInstance |
Registers the provided concrete instance and scans it for generic metadata attribute data.
|
![]() | RegisterType(Type, TMetadata) |
registers provided metadata on the declared type.
|
![]() | RegisterTypeTInstance(TMetadata) |
Registers provided metadata on the declared type.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |