CSLA .NET 10.0.0
A home for your business logic
Loading...
Searching...
No Matches
Csla.InjectAttribute Class Reference

Specifies a parameter that is provided via dependency injection. More...

Inheritance diagram for Csla.InjectAttribute:

Properties

bool AllowNull [get, set]
 Gets or sets a value indicating whether the injected service can be null. When false (default), GetRequiredService is used and an exception is thrown if the service is not registered. When true, GetService is used and null may be returned if the service is not registered.

Detailed Description

Specifies a parameter that is provided via dependency injection.

Property Documentation

◆ AllowNull

bool Csla.InjectAttribute.AllowNull
getset

Gets or sets a value indicating whether the injected service can be null. When false (default), GetRequiredService is used and an exception is thrown if the service is not registered. When true, GetService is used and null may be returned if the service is not registered.


The documentation for this class was generated from the following file: