- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
public object Clone()
{
using (MemoryStream stream = new MemoryStream())
{
BinaryFormatter formatter = new BinaryFormatter();
formatter.Serialize(stream, this);
stream.Position = 0;
ColLink result = (ColLink)formatter.Deserialize(stream);
result.Id = IdentityManager.GetId();
result.GUID = Guid.NewGuid();
result.setEdited();
result.setCreated();
return result;
}
}