public BursaCommandAttribute(string name, IEnumerable <string> contexts, CommandMatcherType matcher_type, string matcher_param) { Name = name; Contexts = contexts.ToList(); MatcherType = matcher_type; MatcherString = matcher_param; }
public BursaCommandAttribute(string name, CommandMatcherType matcher_type, string matcher_param) : this(name, new[] { "CONTEXT_ALL" }, matcher_type, matcher_param) { }