Click or drag to resize
DigitalRuneServiceContainerResolveProperties Method
Tries to resolve all property dependencies of the given instance.

Namespace: DigitalRune.ServiceLocation
Assembly: DigitalRune.ServiceLocation (in DigitalRune.ServiceLocation.dll) Version: 1.3.0.0 (1.3.0.13596)
Syntax
public void ResolveProperties(
	Object instance
)

Parameters

instance
Type: SystemObject
The instance to build up.
Exceptions
ExceptionCondition
ArgumentNullExceptioninstance is .
ActivationException An error occurred while resolving a service instance.
Remarks
This method inspects the properties of the given instance. It will initialize the property with an instance from this container if the property has a public setter, if the property type is found in the container, and if the property type is a reference type (not a value type).
See Also