Intersoft.Client.Framework.Containers Namespace : IRegistration Interface |
The following tables list the members exposed by IRegistration.
Name | Description | |
---|---|---|
Key | Gets the key that is used to identify cached values. | |
Name | Gets the name of the registration. | |
ResolvesTo | Gets the type the contain will Resolve to when this Registration is used. |
Name | Description | |
---|---|---|
CreateInstance | Creates an instance of the type using the registered function. | |
GetInstance | Gets the instance of the type using the registered function. | |
InvalidateInstanceCache | Invalidates any cached value so that a new instance will be created on the next Resolve call. | |
WithLifetimeManager | Sets the lifetime manager to be used by this Registration. |