コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Fallthrough" /> class.
 /// </summary>
 /// <param name="variation">variation.</param>
 /// <param name="rollout">rollout.</param>
 public Fallthrough(int?variation = default(int?), Rollout rollout = default(Rollout))
 {
     this.Variation = variation;
     this.Rollout   = rollout;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Rule" /> class.
 /// </summary>
 /// <param name="variation">variation.</param>
 /// <param name="rollout">rollout.</param>
 /// <param name="clauses">clauses.</param>
 public Rule(int?variation = default(int?), Rollout rollout = default(Rollout), List <Clause> clauses = default(List <Clause>))
 {
     this.Variation = variation;
     this.Rollout   = rollout;
     this.Clauses   = clauses;
 }