Пример #1
0
 public GlobalActionFilterRegistryItem(ItemActivator itemActivator, IConstraint constraint)
     : base(itemActivator, constraint, EmptyActionDescriptor.Instance, EmptyControllerDescriptor.Instance, FilterScope.Global)
 {
 }
Пример #2
0
 public ControllerRegistryItem(ItemActivator type, IConstraint constraints, ControllerDescriptor controllerDescriptor)
     : base(type, constraints, EmptyActionDescriptor.Instance, controllerDescriptor, FilterScope.Controller)
 {
 }
Пример #3
0
 public ControllerActionRegistryItem(ItemActivator type, IConstraint constraint, ActionDescriptor actionDescriptor, ControllerDescriptor controllerDescriptor)
     : base(type, constraint, actionDescriptor, controllerDescriptor, FilterScope.Action)
 {
 }
Пример #4
0
 protected ActionFilterRegistryItem(ItemActivator itemActivator, IConstraint constraint, ActionDescriptor actionDescriptor, ControllerDescriptor controllerDescriptor, FilterScope scope)
     : base(itemActivator, constraint, actionDescriptor, controllerDescriptor)
 {
     this.scope = scope;
 }
Пример #5
0
 protected RegistryItem(ItemActivator itemActivator, ActionDescriptor actionDescriptor, ControllerDescriptor controllerDescriptor)
 {
     ItemActivator        = itemActivator;
     ActionDescriptor     = actionDescriptor;
     ControllerDescriptor = controllerDescriptor;
 }
Пример #6
0
 protected RegistryItem(ItemActivator itemActivator, IConstraint constraint, ActionDescriptor actionDescriptor, ControllerDescriptor controllerDescriptor)
     : this(itemActivator, actionDescriptor, controllerDescriptor)
 {
     Constraint = constraint;
 }