예제 #1
0
 public static void Run()
 {
     ByteElement data = ByteElement.Create("Element");
     ByteElement parI = ByteElement.CreateParam("IntElement", 22);
     ByteElement parD = ByteElement.CreateParam("DblElement", 3.14);
     ByteElement locl = ByteElement.CreateLocal("LocalElement");
 }
예제 #2
0
        private byte GenerateByte(ByteElement byteElement)
        {
            var min = (BigInteger)byteElement.MinValue;
            var max = (BigInteger)byteElement.MaxValue;

            var b = RandomBigIntegerBetween(min, max, byteElement.ExcludeZero);

            return((byte)b);
        }