Пример #1
0
        public void Start(int fps, int q, int x, int y, int n, int k2)
        {
            var calculator = new GenerationCalculator(this.Context.ConnectionId);
            CalculatorRegistry.Register(calculator);

            calculator.Start(fps, q, x, y, n, k2);
        }
 public static void Register(GenerationCalculator calculator)
 {
     calculators.TryAdd(calculator.ConnectionID, calculator);
 }