public void Load(IEnsoService service) { Debug.Assert(service != null); this.service = service; String uri = this.GetType().Name + ".rem"; service.RegisterCommand(this, uri, command); service.SetCommandValidPostfixes(command, new String[] { "", POSTFIX_LOWER, POSTFIX_UPPER, POSTFIX_NUMERIC }); }
public void Load(IEnsoService service) { Debug.Assert(service != null); this.service = service; String uri = this.GetType().Name + ".rem"; foreach (EnsoCommand command in commands) { service.RegisterCommand(this, uri, command); CommandDesc desc = commandActions[command.Name]; if (desc.getPostfixes != null) service.SetCommandValidPostfixes(command, desc.getPostfixes()); } }
public void Load(IEnsoService service) { Debug.Assert(service != null); this.service = service; String uri = this.GetType().Name + ".rem"; foreach (EnsoCommand command in commands) { service.RegisterCommand(this, uri, command); CommandDesc desc = commandActions[command.Name]; if (desc.getPostfixes != null) { service.SetCommandValidPostfixes(command, desc.getPostfixes()); } } }