Esempio n. 1
0
        internal void UpdatePoints(IEnumerable <GeoCalcPoint> points)
        {
            _log.DebugEx("> UpdatePoints START.");

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

            _log.DebugEx("> UpdatePoints END.");
        }
        internal GeoCalculatorInteraction(GeoCalculatorController controller)
        {
            _controller = controller;

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

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