Click or drag to resize

RegistrationData Class

Data common to all registrations made in the container, both direct (IComponentRegistration) and dynamic (IRegistrationSource).
Inheritance Hierarchy
SystemObject
  Autofac.BuilderRegistrationData

Namespace:  Autofac.Builder
Assembly:  Autofac (in Autofac.dll) Version: 4.9.1+831973f4d02fbc619921dfaa8ac0c536f60ae7a3
Syntax
public class RegistrationData

The RegistrationData type exposes the following members.

Constructors
  NameDescription
Public methodRegistrationData
Initializes a new instance of the RegistrationData class.
Top
Properties
  NameDescription
Public propertyActivatedHandlers
Gets the handlers for the Activated event.
Public propertyActivatingHandlers
Gets the handlers for the Activating event.
Public propertyDeferredCallback
Gets or sets the callback used to register this component.
Public propertyLifetime
Gets or sets the lifetime assigned to the component.
Public propertyMetadata
Gets the extended properties assigned to the component.
Public propertyOwnership
Gets or sets the instance ownership assigned to the component.
Public propertyPreparingHandlers
Gets the handlers for the Preparing event.
Public propertyServices
Gets the services explicitly assigned to the component.
Public propertySharing
Gets or sets the sharing mode assigned to the component.
Top
Methods
  NameDescription
Public methodAddService
Add a service to the registration, overriding the default.
Public methodAddServices
Add multiple services for the registration, overriding the default.
Public methodClearServices
Empties the configured services.
Public methodCopyFrom
Copies the contents of another RegistrationData object into this one.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also