Use this type to configure the settings for CSLA .NET. More...
Public Member Functions | |
CslaConfiguration | WebContextManager (IContextManager contextManager) |
Sets the web context manager. More... | |
CslaConfiguration | ContextManager (IContextManager contextManager) |
Sets the context manager. More... | |
CslaConfiguration | ContextManager (Type contextManagerType) |
Sets the context manager type. More... | |
CslaConfiguration | UseReflectionFallback (bool value) |
Sets a value indicating whether CSLA should fallback to using reflection instead of System.Linq.Expressions (true, default). More... | |
CslaConfiguration | PropertyChangedMode (ApplicationContext.PropertyChangedModes mode) |
Sets a value specifying how CSLA .NET should raise PropertyChanged events. More... | |
CslaConfiguration | VersionRoutingTag (string version) |
Sets a value representing the application version for use in server-side data portal routing. More... | |
CslaConfiguration | RuleSet (string ruleSet) |
Sets the RuleSet name to use for static HasPermission calls. More... | |
CslaConfiguration | PropertyInfoFactory (string typeName) |
Sets the factory type that creates PropertyInfo objects. More... | |
CslaConfiguration | DefaultServiceProvider (IServiceProvider defaultServiceProvider) |
Sets the default service provider which Csla will use. More... | |
CslaConfiguration | SettingsChanged () |
Resets any ApplicationContext settings so they re-read their configuration from AppSettings on next use. More... | |
Static Public Member Functions | |
static CslaConfiguration | Configure () |
Gets an instance of the configuration root type. More... | |
Use this type to configure the settings for CSLA .NET.
Definition at line 30 of file CslaConfiguration.cs.
|
static |
Gets an instance of the configuration root type.
Definition at line 35 of file CslaConfiguration.cs.
CslaConfiguration Csla.Configuration.CslaConfiguration.ContextManager | ( | IContextManager | contextManager | ) |
Sets the context manager.
contextManager | Context manager instance. |
Definition at line 65 of file CslaConfiguration.cs.
CslaConfiguration Csla.Configuration.CslaConfiguration.ContextManager | ( | Type | contextManagerType | ) |
Sets the context manager type.
contextManagerType | Context manager type. |
Definition at line 79 of file CslaConfiguration.cs.
CslaConfiguration Csla.Configuration.CslaConfiguration.DefaultServiceProvider | ( | IServiceProvider | defaultServiceProvider | ) |
Sets the default service provider which Csla will use.
defaultServiceProvider | IServiceProvider instance |
Definition at line 157 of file CslaConfiguration.cs.
CslaConfiguration Csla.Configuration.CslaConfiguration.PropertyChangedMode | ( | ApplicationContext.PropertyChangedModes | mode | ) |
Sets a value specifying how CSLA .NET should raise PropertyChanged events.
mode | Property changed mode |
Definition at line 102 of file CslaConfiguration.cs.
CslaConfiguration Csla.Configuration.CslaConfiguration.PropertyInfoFactory | ( | string | typeName | ) |
Sets the factory type that creates PropertyInfo objects.
typeName | Factory type name |
Definition at line 146 of file CslaConfiguration.cs.
CslaConfiguration Csla.Configuration.CslaConfiguration.RuleSet | ( | string | ruleSet | ) |
Sets the RuleSet name to use for static HasPermission calls.
ruleSet | The rule set. |
Definition at line 136 of file CslaConfiguration.cs.
CslaConfiguration Csla.Configuration.CslaConfiguration.SettingsChanged | ( | ) |
Resets any ApplicationContext settings so they re-read their configuration from AppSettings on next use.
Definition at line 170 of file CslaConfiguration.cs.
CslaConfiguration Csla.Configuration.CslaConfiguration.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 91 of file CslaConfiguration.cs.
CslaConfiguration Csla.Configuration.CslaConfiguration.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 123 of file CslaConfiguration.cs.
CslaConfiguration Csla.Configuration.CslaConfiguration.WebContextManager | ( | IContextManager | contextManager | ) |
Sets the web context manager.
contextManager | Web context manager instance |
Will use default WebContextManager. Only need to set for non-default WebContextManager.
Definition at line 50 of file CslaConfiguration.cs.