Click or drag to resize

ServiceRegistration Structure

Defines a combination of a service pipeline and a registration. Used to instantiate a ResolveRequest.

Namespace:  Autofac.Core
Assembly:  Autofac (in Autofac.dll) Version: 6.0.0+39696a967e8826f7f1ebc8c1ff4523c9dd75abe0
Syntax
public struct ServiceRegistration : IEquatable<ServiceRegistration>

The ServiceRegistration type exposes the following members.

Constructors
  NameDescription
Public methodServiceRegistration
Initializes a new instance of the ServiceRegistration struct.
Top
Properties
  NameDescription
Public propertyMetadata
Gets additional data associated with the component.
Public propertyPipeline
Gets the pipeline to invoke that will resolve the associated Registration.
Public propertyRegistration
Gets the registration that will be resolved when a resolve request runs.
Top
Methods
  NameDescription
Public methodEquals(Object)
Indicates whether this instance and a specified object are equal.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(ServiceRegistration)
Indicates whether the current object is equal to another object of the same type.
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
Returns the hash code for this instance.
(Overrides ValueTypeGetHashCode.)
Public methodGetRegistrationOrder
Gets the registration order value from the registration.
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 the fully qualified type name of this instance.
(Inherited from ValueType.)
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Public operatorStatic memberInequality
Top
See Also