CodecProvider.TryGetDeepCopier Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
TryGetDeepCopier(Type) |
Gets a deep copier capable of copying instances of type |
TryGetDeepCopier<T>() |
Gets a deep copier capable of copying instances of type |
TryGetDeepCopier(Type)
Gets a deep copier capable of copying instances of type type
, or returns null
if an appropriate copier was not found.
public Orleans.Serialization.Cloning.IDeepCopier TryGetDeepCopier (Type fieldType);
abstract member TryGetDeepCopier : Type -> Orleans.Serialization.Cloning.IDeepCopier
override this.TryGetDeepCopier : Type -> Orleans.Serialization.Cloning.IDeepCopier
Public Function TryGetDeepCopier (fieldType As Type) As IDeepCopier
Parameters
- fieldType
- Type
Returns
A deep copier capable of copying instances of type type
, or null
if an appropriate copier was not found.
Implements
Applies to
TryGetDeepCopier<T>()
Gets a deep copier capable of copying instances of type T
, or returns null
if an appropriate copier was not found.
public Orleans.Serialization.Cloning.IDeepCopier<T> TryGetDeepCopier<T> ();
abstract member TryGetDeepCopier : unit -> Orleans.Serialization.Cloning.IDeepCopier<'T>
override this.TryGetDeepCopier : unit -> Orleans.Serialization.Cloning.IDeepCopier<'T>
Public Function TryGetDeepCopier(Of T) () As IDeepCopier(Of T)
Type Parameters
- T
The type supported by the copier.
Returns
A deep copier capable of copying instances of type T
, or null
if an appropriate copier was not found.