Click or drag to resize
Copyable Class
This class is an abstract base class that can be used as a really simple way of making an object copyable. To make an object copyable, simply inherit from this class, and call the base constructor from your constructor, with the same arguments as your constructor.
Inheritance Hierarchy
SystemObject
  StreamCoders.HelpersCopyable

Namespace: StreamCoders.Helpers
Assembly: MediaBase (in MediaBase.dll) Version: 2.0.5.0 (2.0.5.0)
Syntax
public abstract class Copyable

The Copyable type exposes the following members.

Methods
  NameDescription
Public methodCreateInstanceForCopy
Top
Extension Methods
  NameDescription
Public Extension MethodCopyOverloaded.
Creates a copy of the object.
(Defined by ObjectExtensions.)
Public Extension MethodCopy(Object)Overloaded.
Creates a deep copy of the object using the supplied object as a target for the copy operation.
(Defined by ObjectExtensions.)
Top
Examples
public class ACopyable : Copyable { private ACopyable _friend; public ACopyable(ACopyable friend) : base(friend) { this._friend = friend; } }
See Also