CopyContext Class
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.
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. |