![]() |
CSLA .NET 10.0.0
A home for your business logic
|
Use this type to configure the settings for CSLA .NET. More...
Public Member Functions | |
| CslaOptions (IServiceCollection services) | |
| Creates an instance of the type. | |
| CslaOptions | UseContextManager< T > () |
| Sets the type for the IContextManager to be used by ApplicationContext. | |
| CslaOptions | UseUnhandledAsyncRuleExceptionHandler< T > () |
| Sets the type for the IUnhandledAsyncRuleExceptionHandler to be used. | |
| CslaOptions | UseReflectionFallback (bool value) |
| Sets a value indicating whether CSLA should fallback to using reflection instead of System.Linq.Expressions (true, default). | |
| CslaOptions | RegisterPropertyInfoFactory<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicParameterlessConstructor)] T > () |
| Sets the factory type that creates PropertyInfo objects. | |
| CslaOptions | ScanForDataAnnotations (bool flag) |
| Configures the scanning for data annotations based on the provided flag. | |
Properties | |
| IServiceCollection | Services [get] |
| Gets a reference to the current services collection. | |
| Type? | ContextManagerType [get] |
| Gets the type for the IContextManager used by ApplicationContext. | |
| Type | UnhandledAsyncRuleExceptionHandlerType = typeof(DontObserveUnhandledAsyncRuleExceptionHandler) [get] |
| Gets the type used for the IUnhandledAsyncRuleExceptionHandler. | |
| int | DefaultWaitForIdleTimeoutInSeconds = 90 [get, set] |
| Gets or sets the default timeout in seconds for the WaitForIdle method. | |
| bool | ScanDataAnnotations = true [get] |
| Indicates whether the data annotations scan is enabled. | |
| SerializationOptions | SerializationOptions [get] |
| Gets the SerializationOptions instance. | |
| DataOptions | DataOptions = new() [get] |
| Gets the DataOptions instance. | |
| BindingOptions | BindingOptions = new() [get] |
| Gets the DataOptions instance. | |
Use this type to configure the settings for CSLA .NET.
|
inline |
Creates an instance of the type.
| services | Services collection |
| ArgumentNullException | services is null. |
|
inline |
Sets the factory type that creates PropertyInfo objects.
| T | : | IPropertyInfoFactory |
|
inline |
Configures the scanning for data annotations based on the provided flag.
| flag | True to scan for data annotations, false to disable scanning. (default: true) |
|
inline |
Sets the type for the IContextManager to be used by ApplicationContext.
| T | : | IContextManager |
|
inline |
Sets a value indicating whether CSLA should fallback to using reflection instead of System.Linq.Expressions (true, default).
| value | Value |
|
inline |
Sets the type for the IUnhandledAsyncRuleExceptionHandler to be used.
| T | The type to register for IUnhandledAsyncRuleExceptionHandler. |
| T | : | IUnhandledAsyncRuleExceptionHandler |
|
get |
Gets the DataOptions instance.
|
get |
Gets the type for the IContextManager used by ApplicationContext.
|
get |
Gets the DataOptions instance.
|
getset |
Gets or sets the default timeout in seconds for the WaitForIdle method.
|
get |
Indicates whether the data annotations scan is enabled.
|
get |
Gets the SerializationOptions instance.
|
get |
Gets a reference to the current services collection.
|
get |
Gets the type used for the IUnhandledAsyncRuleExceptionHandler.