Beispiel #1
0
        public Pb.ByteArrayComparable ConvertToPB()
        {
            var pbVersion = new Pb.ByteArrayComparable();

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