22 public IServiceCollection
Services {
get;
private set; }
87 if (!
string.IsNullOrWhiteSpace(version))
88 if (version.Contains(
"-") || version.Contains(
"/"))
89 throw new ArgumentException(
"VersionRoutingTag");
99 Core.FieldManager.PropertyInfoFactory.FactoryType = typeof(T);
110 internal SerializationOptions SerializationOptions {
get;
set; } =
new SerializationOptions();
114 internal DataPortalClientOptions DataPortalClientOptions {
get;
private set; }
118 internal DataPortalServerOptions DataPortalServerOptions {
get;
private set; } =
new DataPortalServerOptions();
122 internal DataOptions DataOptions {
get;
set; } =
new DataOptions();
Provides consistent context information between the client and server DataPortal objects.
static bool UseReflectionFallback
Gets or sets a value indicating whether CSLA should fallback to using reflection instead of System....
static PropertyChangedModes PropertyChangedMode
Gets or sets a value specifying how CSLA .NET should raise PropertyChanged events.
PropertyChangedModes
Enum representing the way in which CSLA .NET should raise PropertyChanged events.
static string VersionRoutingTag
Gets a value representing the application version for use in server-side data portal routing.
Use this type to configure the settings for CSLA .NET.
IServiceCollection Services
Gets the current service collection.
CslaOptions VersionRoutingTag(string version)
Sets a value representing the application version for use in server-side data portal routing.
CslaOptions PropertyChangedMode(ApplicationContext.PropertyChangedModes mode)
Sets a value specifying how CSLA .NET should raise PropertyChanged events.
CslaOptions(IServiceCollection services)
Creates an instance of the type.
CslaOptions UseReflectionFallback(bool value)
Sets a value indicating whether CSLA should fallback to using reflection instead of System....
CslaOptions RegisterContextManager< T >()
Registers a specific ApplicationContext manager service, overriding the default service registration.
CslaOptions RegisterPropertyInfoFactory< T >()
Sets the factory type that creates PropertyInfo objects.
Client-side data portal options.
Use this type to configure the settings for security.
Defines the interface for an application context manager type.
Defines the interface for a factory object that creates IPropertyInfo objects.