Skip to content

IDeepCopierProvider Methods

Provides Orleans.Serialization.Cloning.IDeepCopier instances.

GetBaseCopier

abstract
public abstract IBaseCopier<T> GetBaseCopier<T>()
Gets a base type copier capable of copying instances of type T.

Returns

A base type copier capable of copying instances of type T.

GetDeepCopier(Type)

abstract
public abstract IDeepCopier GetDeepCopier(Type type)
Gets a deep copier capable of copying instances of type type.

Parameters

typeType
The type supported by the returned copier.

Returns

A deep copier capable of copying instances of type type.

GetDeepCopier

abstract
public abstract IDeepCopier<T> GetDeepCopier<T>()
Gets a deep copier capable of copying instances of type T.

Returns

A deep copier capable of copying instances of type T.

TryGetDeepCopier

abstract
public abstract IDeepCopier<T>? TryGetDeepCopier<T>()
Gets a deep copier capable of copying instances of type T, or returns null if an appropriate copier was not found.

Returns

A deep copier capable of copying instances of type T, or null if an appropriate copier was not found.

TryGetDeepCopier(Type)

abstract
public abstract IDeepCopier? TryGetDeepCopier(Type type)
Gets a deep copier capable of copying instances of type type, or returns null if an appropriate copier was not found.

Parameters

typeType
The type supported by the returned copier.

Returns

A deep copier capable of copying instances of type type, or null if an appropriate copier was not found.