Edytuj

Udostępnij za pośrednictwem


CopyContext Class

Definition

Provides context for a copy operation.

public sealed class CopyContext : IDisposable
type CopyContext = class
    interface IDisposable
Public NotInheritable Class CopyContext
Implements IDisposable
Inheritance
CopyContext
Implements

Constructors

CopyContext(CodecProvider, Action<CopyContext>)

Initializes a new instance of the CopyContext class.

Methods

DeepCopy<T>(T)

Copies the provided value.

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

RecordCopy(Object, Object)

Records a copy of an object.

Reset()

Resets this instance.

TryGetCopy<T>(Object, T)

Returns the previously recorded copy of the provided object, if it exists.

Applies to

See also