public RestrictAttribute(Delegate method, RestrictDisplay display) { this.delegates.Add(method); this.display = display; }
public RestrictAttribute(string methodName, RestrictDisplay display) { this.methodName = methodName; this.display = display; }