Use this type to configure the settings for CSLA .NET. More...
Public Member Functions | |
| CslaOptions (IServiceCollection services) | |
| Creates an instance of the type. More... | |
| CslaOptions | RegisterContextManager< T > () |
| Registers a specific ApplicationContext manager service, overriding the default service registration. More... | |
| CslaOptions | UseReflectionFallback (bool value) |
| Sets a value indicating whether CSLA should fallback to using reflection instead of System.Linq.Expressions (true, default). More... | |
| CslaOptions | PropertyChangedMode (ApplicationContext.PropertyChangedModes mode) |
| Sets a value specifying how CSLA .NET should raise PropertyChanged events. More... | |
| CslaOptions | VersionRoutingTag (string version) |
| Sets a value representing the application version for use in server-side data portal routing. More... | |
| CslaOptions | RegisterPropertyInfoFactory< T > () |
| Sets the factory type that creates PropertyInfo objects. More... | |
Properties | |
| IServiceCollection | Services [get] |
| Gets the current service collection. More... | |
Use this type to configure the settings for CSLA .NET.
Definition at line 17 of file CslaOptions.cs.
| Csla.Configuration.CslaOptions.CslaOptions | ( | IServiceCollection | services | ) |
Creates an instance of the type.
| services | Service collection |
Definition at line 28 of file CslaOptions.cs.
| CslaOptions Csla.Configuration.CslaOptions.PropertyChangedMode | ( | ApplicationContext.PropertyChangedModes | mode | ) |
Sets a value specifying how CSLA .NET should raise PropertyChanged events.
| mode | Property changed mode |
Definition at line 64 of file CslaOptions.cs.
| CslaOptions Csla.Configuration.CslaOptions.RegisterContextManager< T > | ( | ) |
Registers a specific ApplicationContext manager service, overriding the default service registration.
| T | IContextManager implementation type. |
| T | : | IContextManager |
Definition at line 40 of file CslaOptions.cs.
| CslaOptions Csla.Configuration.CslaOptions.RegisterPropertyInfoFactory< T > | ( | ) |
Sets the factory type that creates PropertyInfo objects.
| T | : | IPropertyInfoFactory |
Definition at line 97 of file CslaOptions.cs.
| CslaOptions Csla.Configuration.CslaOptions.UseReflectionFallback | ( | bool | value | ) |
Sets a value indicating whether CSLA should fallback to using reflection instead of System.Linq.Expressions (true, default).
| value | Value |
Definition at line 53 of file CslaOptions.cs.
| CslaOptions Csla.Configuration.CslaOptions.VersionRoutingTag | ( | string | version | ) |
Sets a value representing the application version for use in server-side data portal routing.
| version | Application version used to create data portal routing tag (can not contain '-'). |
If this value is set then you must use the .NET Core server-side Http data portal endpoint as a router so the request can be routed to another app server that is running the correct version of the application's assemblies.
Definition at line 85 of file CslaOptions.cs.
|
get |
Gets the current service collection.
Definition at line 22 of file CslaOptions.cs.