InjectAttribute
Wisej.Services.InjectAttribute
Last updated
Was this helpful?
Wisej.Services.InjectAttribute
Last updated
Was this helpful?
Namespace: Wisej.Services
Assembly: Wisej.Framework (3.2.0.0)
Indicates that the associated property references a service injected by the service provider during initialization.
Use this attribute on properties (can be private, protected, or public) that represent an injected service instance.
Dependency injection is applied automatically for all top level containers: Form, Page, Desktop; and for all service instances created by the system. You can also inject dependencies into other objects by calling after creating the target object.
required
True to indicated that the service is required.
Initializes a new instance of the class.
Initializes a new instance of the class.
: Indicates that the service is required.