Esempio n. 1
0
        private static void Handle_Unbind(
					OBPClient Dispatch, string[] args, int index)
        {
            Unbind		Options = new Unbind ();

            Registry Registry = new Registry ();

            #pragma warning disable 162
            for (int i = index; i< args.Length; i++) {
                if 	(!IsFlag (args [i][0] )) {
                    throw new Exception ("Unexpected parameter: " + args[i]);}
                string Rest = args [i].Substring (1);

                TagType_Unbind TagType = (TagType_Unbind) Registry.Find (Rest);

                // here have the cases for what to do with it.

                switch (TagType) {
                    default : throw new Exception ("Internal error");
                    }
                }

            #pragma warning restore 162
            Dispatch.Unbind (Options);
        }