示例#1
0
 public SetupClassEndIf <T, R, ENDIF> MustPassRule(IRule <T> rule)
 {
     return(BuilderHelper.CreateMustPassRule <T, SetupClassEndIf <T, R, ENDIF> >(rule, _fluentScope, true));
 }
 public SetupClass <T, R> MustPassRule(IRule <R> rule)
 {
     return(BuilderHelper.CreateMustPassRule <R, SetupClass <T, R> >(rule, _fluentScope, false));
 }
示例#3
0
 public ForClass <T> MustPassRule(IRule <T> rule)
 {
     return(BuilderHelper.CreateMustPassRule <T, ForClass <T> >(rule, _fluentScope, true));
 }
 public SetupClassElseEndIf <T, R, ENDIF> MustPassRule(IRule <R> rule)
 {
     return(BuilderHelper.CreateMustPassRule <R, SetupClassElseEndIf <T, R, ENDIF> >(rule, _fluentScope, false));
 }
 public ForClassElseEndIf <T, ENDIF> MustPassRule(IRule <T> rule)
 {
     return(BuilderHelper.CreateMustPassRule <T, ForClassElseEndIf <T, ENDIF> >(rule, _fluentScope, true));
 }