Esempio n. 1
0
        public Pb.ByteArrayComparable ConvertToPB()
        {
            var pbVersion = new Pb.ByteArrayComparable();

            if (Value != null)
            {
                pbVersion.Value = ByteString.CopyFrom(Value);
            }
            return(pbVersion);
        }
Esempio n. 2
0
 public BinaryComparator(Pb.ByteArrayComparable comparable)
 {
     Comparable = comparable;
     Name       = ConstString.ComparatorPath + nameof(BinaryComparator);
 }
Esempio n. 3
0
 public BitComparator(Pb.BitComparator.Types.BitwiseOp bitwiseOp, Pb.ByteArrayComparable comparable)
 {
     BitwiseOp  = bitwiseOp;
     Comparable = comparable;
     Name       = ConstString.ComparatorPath + nameof(BitComparator);
 }