Example #1
0
 public override bool Sync()
 {
     IsChanged = FAutoValidate ? FStringIn.PinIsChanged : FStringIn.Validate();
     if (IsChanged)
     {
         Length = FStringIn.SliceCount;
         using (var writer = GetWriter())
         {
             for (int i = 0; i < Length; i++)
             {
                 string result;
                 FStringIn.GetString(i, out result);
                 writer.Write(result ?? string.Empty);
             }
         }
     }
     return(base.Sync());
 }