// =================================================================== public LineHandle(ref Object line, C2DPushGraph owner) { /* A small hack to get around the compiler error CS0051: */ if (string.Compare(line.GetType().Name, "Line") != 0) { throw new System.ArithmeticException( "LineHandle: First Parameter must be " + "type of 'Line' cast to base 'Object'"); } m_Line = (Line)line; m_Owner = owner; }