Пример #1
0
        internal void UpdatePoints(IEnumerable <GeoCalcPoint> points)
        {
            _log.DebugEx("> UpdatePoints START.");

            GeoCalculatiorFacade.UpdateUserSessionPoints(points);
            OnPointUpdated.Invoke();

            _log.DebugEx("> UpdatePoints END.");
        }
Пример #2
0
        internal GeoCalculatorInteraction(GeoCalculatorController controller)
        {
            _controller = controller;

            _controller.OnPointDeleted += (pointId) =>
            {
                OnPointDeleted?.Invoke(pointId);
            };

            _controller.OnPointUpdated += () =>
            {
                OnPointUpdated?.Invoke();
            };
        }