Mono.Debugger.Frontend.Engine.RegisterAlias C# (CSharp) Метод

RegisterAlias() публичный Метод

public RegisterAlias ( string s, Type t ) : void
s string
t System.Type
Результат void
        public void RegisterAlias(string s, Type t)
        {
            if (!t.IsSubclassOf (typeof (Command)))
                throw new Exception ("Need a type derived from CL.Command");
            else if (t.IsAbstract)
                throw new Exception (
                    "Some clown tried to register an abstract class");

            Aliases [s] = t;
        }