CSLA .NET 10.0.0
A home for your business logic
Loading...
Searching...
No Matches
Csla.Configuration.SerializationOptions(CslaOptions cslaOptions) Class Reference

Use this type to configure the settings for serialization. More...

Public Member Functions

SerializationOptions UseSerializationFormatter<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] T > ()
 Sets the serialization formatter type used by CSLA .NET for all explicit object serialization (such as cloning, n-level undo, etc). Default is MobileFormatter.

Properties

CslaOptions CslaOptions = cslaOptions ?? throw new ArgumentNullException(nameof(cslaOptions)) [get]
 Gets the CSLA .NET configuration options.
IServiceCollection Services [get]
 Gets the current services collection.

Detailed Description

Use this type to configure the settings for serialization.

Parameters
cslaOptionsThe CSLA options.
Exceptions
ArgumentNullExceptioncslaOptions is null.

Member Function Documentation

◆ UseSerializationFormatter<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] T >()

SerializationOptions Csla.Configuration.SerializationOptions.UseSerializationFormatter<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] T > ( )
inline

Sets the serialization formatter type used by CSLA .NET for all explicit object serialization (such as cloning, n-level undo, etc). Default is MobileFormatter.

Type Constraints
T :ISerializationFormatter 

Property Documentation

◆ CslaOptions

CslaOptions Csla.Configuration.SerializationOptions.CslaOptions = cslaOptions ?? throw new ArgumentNullException(nameof(cslaOptions))
getprotected

Gets the CSLA .NET configuration options.

◆ Services

IServiceCollection Csla.Configuration.SerializationOptions.Services
get

Gets the current services collection.


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