IDeepCopierProvider.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 type);
abstract member TryGetDeepCopier : Type -> Orleans.Serialization.Cloning.IDeepCopier
Public Function TryGetDeepCopier (type As Type) As IDeepCopier
Parameters
- type
- Type
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.
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>
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.