示例#1
0
 public ConvertorInput(ConvertorInput major)
 {
     this.Start       = major.Start;
     this.End         = major.End;
     this.Delta       = major.Delta;
     this.Placeholder = major.Placeholder;
 }
 public FileManualConvertor(ConvertorInput convetorInput)
 {
     this.convetorInput = convetorInput;
     if (string.IsNullOrEmpty(convetorInput.Encoding))
     {
         convetorInput.Encoding = "utf-8";
     }
     this.ManualData = File.ReadAllLines(convetorInput.Location, Encoding.GetEncoding(convetorInput.Encoding)).ToList();
 }
示例#3
0
 public override void Reset()
 {
     this.Copy = new ConvertorInput(convertorInput);
 }
示例#4
0
 public LoopConvertor(ConvertorInput convertorInput)
 {
     this.convertorInput = convertorInput;
     this.Copy           = new ConvertorInput(this.convertorInput);
 }
示例#5
0
 public SplitConvertor(ConvertorInput convertorInput)
 {
     this.convertorInput = convertorInput;
 }
示例#6
0
 public DateTimeConvertor(ConvertorInput convertorInput)
 {
     this.convertorInput = convertorInput;
 }
 public ReplaceConvertor(ConvertorInput convertorInput)
 {
     this.convertorInput = convertorInput;
 }