public MouseOperationManager(
            ICalculateHelper calculateHelper,
            IOptions <OperationOptions> operationOptions,
            IServiceProvider serviceProvider,
            IMapSettingsController mapSettingsController,
            ICurrentPositionController currentPositionController,
            IManagerCursor managerCursor,
            ISelectableController selectableController,
            ISelectableObjects selectableObjects,
            ILogger <MouseOperationManager> logger
            )
        {
            _calculateHelper           = calculateHelper;
            _operationOptions          = operationOptions;
            _mapSettingsController     = mapSettingsController;
            _currentPositionController = currentPositionController;
            _managerCursor             = managerCursor;
            _selectableController      = selectableController;
            _selectableObjects         = selectableObjects;
            _logger = logger;

            _mapZoomOperation = serviceProvider.GetService <IMapZoomOperation>();
            _mapMoveOperation = serviceProvider.GetService <IMapMoveOperation>();
            _selectOperation  = serviceProvider.GetService <ISelectOperation>();
            _moveOperation    = serviceProvider.GetService <IMoveOperation>();
        }
Ejemplo n.º 2
0
 public ClientFieldState(
     IStateChangedObservable stateChangedObservable,
     ISelectOperation selectOperation)
 {
     m_stateChangedObservable = stateChangedObservable;
     m_selectOperation        = selectOperation;
 }
Ejemplo n.º 3
0
 public GeneratorSelectOperation(ISelectOperation operation)
     : base(operation)
 {
     Index = operation.Index;
 }
Ejemplo n.º 4
0
 public virtual void VisitSelectOperation(ISelectOperation value)
 {
     VisitExpression(value.Expression);
 }
 private void WriteSelectOperation(ISelectOperation value, IFormatter formatter)
 {
     formatter.WriteKeyword("select");
     formatter.Write(" ");
     this.WriteExpression(value.Expression, formatter);
 }
Ejemplo n.º 6
0
 public virtual void VisitSelectOperation(ISelectOperation value)
 {
     this.VisitExpression(value.Expression);
 }
 public virtual ISelectOperation TransformSelectOperation(ISelectOperation value)
 {
     value.Expression = this.TransformExpression(value.Expression);
     return value;
 }