diff -r 0a956121c273 -r cc2251d065db SharpLibEar/Object.cs
--- a/SharpLibEar/Object.cs Thu Aug 18 20:14:30 2016 +0200
+++ b/SharpLibEar/Object.cs Fri Aug 19 17:12:54 2016 +0200
@@ -21,6 +21,33 @@
[KnownType("DerivedTypes")]
public abstract class Object: IComparable
{
+ private bool iConstructed = false;
+
+ public Object()
+ {
+ Construct();
+ }
+
+ ///
+ /// Needed as our constructor is not called following internalization.
+ ///
+ public void Construct()
+ {
+ if (!iConstructed)
+ {
+ DoConstruct();
+ iConstructed = true;
+ }
+ }
+
+ ///
+ ///
+ ///
+ protected virtual void DoConstruct()
+ {
+
+ }
+
///
/// Static object name.
///