public OrderConstraint(Type typeA, ExecutionRelation relation, Type typeB, ConstraintPriority priority)
 {
     if (relation == ExecutionRelation.Before)
     {
         this.FirstType = typeA;
         this.LastType  = typeB;
     }
     else
     {
         this.FirstType = typeB;
         this.LastType  = typeA;
     }
     this.Priority = priority;
 }
Exemplo n.º 2
0
 public ExecutionOrderAttribute(ExecutionRelation relation, Type anchor)
 {
     this.anchor   = anchor;
     this.relation = relation;
 }