CopyContext
class
Namespace: Orleans.Serialization.Cloning
Provides context for a copy operation.
public sealed class CopyContext : IDisposableRemarks
Initializes a new instance of the
CopyContext class. Constructors
CopyContext(CodecProvider, Action<CopyContext>)Provides context for a copy operation.
Methods
DeepCopy(T?)Copies the provided value.DisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.RecordCopy(object, object)Records a copy of an object.ResetResets this instance.TryGetCopy(object?, T?)Returns the previously recorded copy of the provided object, if it exists.
