12345678910111213141516171819202122232425262728 |
- using System;
- using System.ComponentModel;
- namespace ET
- {
- public abstract class ProtoObject: Object, ISupportInitialize
- {
- public object Clone()
- {
- byte[] bytes = SerializeHelper.Serialize(this);
- return SerializeHelper.Deserialize(this.GetType(), bytes, 0, bytes.Length);
- }
-
- public virtual void BeginInit()
- {
- }
-
-
- public virtual void EndInit()
- {
- }
-
-
- public virtual void AfterEndInit()
- {
- }
- }
- }
|