public Loader(Disp.Internal.Ambiente Ambiente) { this.Ambiente = Ambiente; _commandLibraries = new Dictionary <string, Dictionary <string, IEnumerable <ParameterInfo> > >(); var q = from t in Assembly.GetExecutingAssembly().GetTypes() where t.IsClass select t; commandClasses = q.ToList(); foreach (var commandClass in commandClasses) { var methods = commandClass.GetMethods(BindingFlags.Instance | BindingFlags.Public); var methodDictionary = new Dictionary <string, IEnumerable <ParameterInfo> >(); foreach (var method in methods) { string commandName = method.Name; methodDictionary.Add(commandName, method.GetParameters()); } _commandLibraries.Add(commandClass.Name, methodDictionary); } }
public DInteger(Disp.Internal.Ambiente Ambiente) { this.Ambiente = Ambiente; }
public DispFile(Disp.Internal.Ambiente Ambiente) { this.Ambiente = Ambiente == null?new Ambiente(): Ambiente; }
public Registry(Disp.Internal.Ambiente Ambiente) { this.Ambiente = Ambiente; }
public DMath(Disp.Internal.Ambiente Ambiente) { this.Ambiente = Ambiente; }
public DForm(Disp.Internal.Ambiente Ambiente) { this.Ambiente = Ambiente; }