示例#1
0
 public StringCommandScanner(string scanValue, TargetOfScanner scanTarget, ScannerCondition scanCondition = ScannerCondition.Equals)
     : base((CommandScanner.TargetOfScanner)Enum.Parse(typeof(CommandScanner.TargetOfScanner), scanTarget.ToString()))
     // Converting value of this TargetOfScanner to value of the base TargetOfScanner
 {
     ScanValue     = scanValue;
     ScanCondition = scanCondition;
 }
示例#2
0
 public ListCommandScanner(object scanValue, TargetOfScanner scanTarget = TargetOfScanner.Tags, ScannerCondition scanCondition = ScannerCondition.Contains)
     : base((CommandScanner.TargetOfScanner)Enum.Parse(typeof(CommandScanner.TargetOfScanner), scanTarget.ToString()))
     // Converting value of this TargetOfScanner to value of the base TargetOfScanner
 {
     ScanValue     = scanValue;
     ScanCondition = scanCondition;
 }
示例#3
0
 protected CommandScanner(TargetOfScanner targetOfScan)
 {
     TargetOfScan = targetOfScan;
 }