Share via


TypeRegistration<T> Members

Include Protected Members
Include Inherited Members

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The latest Enterprise Library information can be found at the Enterprise Library site.

The TypeRegistration<T> type exposes the following members.

Constructors

  Name Description
Public method TypeRegistration<T>
Initializes the TypeRegistration with a LambdaExpression for T.

Methods

  Name Description
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  Name Description
Public property ConstructorParameters
Gets the ParameterValue instances describing values injected through the constructor.
(Inherited from TypeRegistration.)
Public property ImplementationType
Gets the Type for the registration entry.
(Inherited from TypeRegistration.)
Public property InjectedProperties
Gets the InjectedProperty instances describing values injected to properties.
(Inherited from TypeRegistration.)
Public property IsDefault
Gets truetrue (True in Visual Basic) if the registration is to be considered the default for the service type, falsefalse (False in Visual Basic) otherwise.
(Inherited from TypeRegistration.)
Public property IsPublicName
Is this registration for a type that is part of a public API? If true, configurators should not transform the name in any way. If false, this is an internal implementation class that users will not be resolving directly, and as such the name can be manipulated safely without interfering with the public API.
(Inherited from TypeRegistration.)
Public property LambdaExpression
Gets LambdaExpression representing the injection.
(Inherited from TypeRegistration.)
Public property Lifetime
The required lifetime for this service implementation.
(Inherited from TypeRegistration.)
Public property Name
Gets the name under which the entry should be registered to the container.
(Inherited from TypeRegistration.)
Public property NewExpressionBody
Returns the expression body representing the creation constructor call.
(Inherited from TypeRegistration.)
Public property ServiceType
Gets the Type for which the ImplementationType provides an implementation.
(Inherited from TypeRegistration.)

See Also

TypeRegistration<T> Class

Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ContainerModel Namespace