private static PositionCalculatorSettings PositionCalculatorSettings()
 {
     var superBlockSize = MathUtil.MB(1);
     var blockSize = MathUtil.Power2(9);
     var s = new PositionCalculatorSettings(superBlockSize, blockSize);
     return s;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PositionCalculator"/> class.
 /// </summary>
 /// <param name="positionCalculatorSettings">The position calculator settings.</param>
 public PositionCalculator(PositionCalculatorSettings positionCalculatorSettings)
 {
     _settings = positionCalculatorSettings;
 }