Exemplo n.º 1
0
        protected override void ReadList(IntPtr ptr, IntPtr ptrTerm, string listType)
        {
            switch (listType)
            {
            case "lart":
            case "lar2":
                Articulations = new LART(ptr, ptrTerm);
                break;

            default:
                throw new Exception(string.Format("Unknown ListType [{0}]", listType));
            }
        }
Exemplo n.º 2
0
        protected override void LoadList(IntPtr ptr, string type, uint size)
        {
            switch (type)
            {
            case "lart":
            case "lar2":
                Articulations = new LART(ptr, size);
                break;

            default:
                throw new Exception("[RGN_]Unknown ListType");
            }
        }