示例#1
0
 public DataRange(DataSize min, DataSize max)
 {
     this.minSize = min;
     this.maxSize = max;
 }
示例#2
0
 /// <summary>
 /// Initializes a DataRange with a lower bound of 0 bytes.
 /// </summary>
 /// <param name="upperSize"></param>
 public DataRange(DataSize upperSize)
 {
     this.minSize = new DataSize();
     this.maxSize = new DataSize(upperSize);
 }
示例#3
0
        /*public DataRange() {
         *      this.minSize = new DataSize();
         *      this.maxSize = new DataSize();
         * }*/

        public DataRange(long min, long max)
        {
            this.minSize = new DataSize(min);
            this.maxSize = new DataSize(max);
        }