Skip to content

Sealing resolved InjectionMember classes #36

Description

@ENikS

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions