Registration Properties

Simple Injector

The Registration type exposes the following members.

Properties

  NameDescription
Public propertyContainer
Gets the Container instance for this registration.
Public propertyImplementationType
Gets the type that this instance will create.
Public propertyLifestyle
Gets the Lifestyle this that created this registration.
Public propertySuppressDisposal
Gets or sets a value indicating whether the disposal of created instances for this registration should be suppressed or not. The default is false. Having a value of false, does not force an instance to be disposed of, though; Transient instances, for instance, will never be disposed of.
Top
See Also

Reference