Sealing types
Following classes are being sealed:
InjectionField
OptionalField
InjectionProperty
OptionalProperty
The Rationale
With introduction of Injection Reflection resolved injection members, as these above, do not contribute any executable code during runtime. All they do, is provide metadata for the container to resolve values. As result, deriving from these types does not allow any modifications to the resolution process.
To prevent any confusion and incorrect behavior these classes are being sealed.
Derived types
TBD
Sealing types
Following classes are being sealed:
InjectionFieldOptionalFieldInjectionPropertyOptionalPropertyThe Rationale
With introduction of Injection Reflection resolved injection members, as these above, do not contribute any executable code during runtime. All they do, is provide metadata for the container to resolve values. As result, deriving from these types does not allow any modifications to the resolution process.
To prevent any confusion and incorrect behavior these classes are being sealed.
Derived types
TBD