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: 6.0.0+39696a967e8826f7f1ebc8c1ff4523c9dd75abe0
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 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 propertyOptions
Gets or sets the options for the registration.
Public propertyOwnership
Gets or sets the instance ownership assigned to the component.
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