IRegistrationBuilderTLimit, TActivatorData, TRegistrationStyleInstancePerOwned Method |
Name | Description | |
---|---|---|
InstancePerOwnedTService |
Configure the component so that every dependent component or call to Resolve()
within a ILifetimeScope created by an owned instance gets the same, shared instance.
Dependent components in lifetime scopes that are children of the owned instance scope will
share the parent's instance. If no appropriate owned instance scope can be found in the
hierarchy an DependencyResolutionException is thrown.
| |
InstancePerOwnedTService(Object) |
Configure the component so that every dependent component or call to Resolve()
within a ILifetimeScope created by an owned instance gets the same, shared instance.
Dependent components in lifetime scopes that are children of the owned instance scope will
share the parent's instance. If no appropriate owned instance scope can be found in the
hierarchy an DependencyResolutionException is thrown.
| |
InstancePerOwnedTService(Object) |
Configure the component so that every dependent component or call to Resolve()
within a ILifetimeScope created by an owned instance gets the same, shared instance.
Dependent components in lifetime scopes that are children of the owned instance scope will
share the parent's instance. If no appropriate owned instance scope can be found in the
hierarchy an DependencyResolutionException is thrown.
| |
InstancePerOwned(Type) |
Configure the component so that every dependent component or call to Resolve()
within a ILifetimeScope created by an owned instance gets the same, shared instance.
Dependent components in lifetime scopes that are children of the owned instance scope will
share the parent's instance. If no appropriate owned instance scope can be found in the
hierarchy an DependencyResolutionException is thrown.
| |
InstancePerOwned(Object, Type) |
Configure the component so that every dependent component or call to Resolve()
within a ILifetimeScope created by an owned instance gets the same, shared instance.
Dependent components in lifetime scopes that are children of the owned instance scope will
share the parent's instance. If no appropriate owned instance scope can be found in the
hierarchy an DependencyResolutionException is thrown.
|