CSLA .NET 10.0.0
A home for your business logic
Loading...
Searching...
No Matches
Csla.Core.ObjectCloner Class Reference

This class provides an implementation of a deep clone of a complete object graph. Objects are copied at the field level. More...

Public Member Functions

 ObjectCloner (ApplicationContext applicationContext)
 Creates an instance of the type.
object? Clone (object? obj)
 Clones an object.

Static Public Member Functions

static ObjectCloner GetInstance (ApplicationContext applicationContext)
 Gets an instance of ObjectCloner.

Detailed Description

This class provides an implementation of a deep clone of a complete object graph. Objects are copied at the field level.

Constructor & Destructor Documentation

◆ ObjectCloner()

Csla.Core.ObjectCloner.ObjectCloner ( ApplicationContext applicationContext)
inline

Creates an instance of the type.

Parameters
applicationContext
Exceptions
ArgumentNullExceptionapplicationContext is null.

Member Function Documentation

◆ Clone()

object? Csla.Core.ObjectCloner.Clone ( object? obj)
inline

Clones an object.

Parameters
objThe object to clone.

The object to be cloned must be serializable.

The serialization is performed using the formatter specified in ApplicationContext.

The default is to use the MobileFormatter.

◆ GetInstance()

ObjectCloner Csla.Core.ObjectCloner.GetInstance ( ApplicationContext applicationContext)
inlinestatic

Gets an instance of ObjectCloner.

Parameters
applicationContext
Exceptions
ArgumentNullExceptionapplicationContext is null.

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