ServiceRegistration
Represents a service registration.
True if the registration contains any condition, otherwise false.
True if the registration is restricted to a named scope.
The implementation type.
The TypeInfo of the implementation type.
True if the registration is a decorator.
True if the registration can used by an unnamed resolution request.
The object builder used to create the instantiation expression for this registration.
The registration context.
The registration number.
The registration id.
True if the registration contains a disposable service which should be tracked.
Checks that the registration can be injected into a named scope.
Clones the registration with new underlying type.
public Expression GetExpression(IContainerContext containerContext, ResolutionContext resolutionContext, Type resolveType)
Creates an expression for creating the resolved instance.
Checks whether the registration can be used for a current resolution.
Indicates that the current registration replaces another one, it copies the necessary information from the original.