Esempio n. 1
0
 /// <summary>
 /// Добавление визуализации
 /// </summary>
 /// <param name="visual"></param>
 public void AddVisual(IVisualService visual)
 {
     if (visual != null)
     {
         visualsServices.Add(visual);
     }
 }
 public CanvasControlHarness(
     IDependencyPropertyService propertyService,
     ICanvasRenderer renderer,
     IVisualService visualService)
     : base(propertyService, renderer, visualService)
 {
 }
Esempio n. 3
0
        public CanvasControl(
            IDependencyPropertyService propertyService,
            ICanvasRenderer renderer,
            IVisualService visualService)
        {
            _propertyService = propertyService;
            _renderer        = renderer;
            _visualService   = visualService;

            // TODO: Should this be moved into an initialize method?
            _propertyService.SetSource(this);
            _visualService.SetSource(this);
        }
 public DashboardController(IRepository <UserDashboard> userDashboardRepository,
                            IRepository <UserDashboardVisual> userDashboardVisualRepository,
                            IVisualService visualService,
                            IAssignmentService assignmentService,
                            ILocalizationService localizationService,
                            IPermissionService permissionService,
                            HttpContextBase httpContext,
                            IWorkContext workContext,
                            IDbContext dbContext)
 {
     this._userDashboardRepository       = userDashboardRepository;
     this._userDashboardVisualRepository = userDashboardVisualRepository;
     this._visualService       = visualService;
     this._assignmentService   = assignmentService;
     this._localizationService = localizationService;
     this._permissionService   = permissionService;
     this._httpContext         = httpContext;
     this._workContext         = workContext;
     this._dbContext           = dbContext;
 }
 public VisualController(IRepository <Visual> visualRepository,
                         IRepository <VisualFilter> visualFilterRepository,
                         IRepository <SecurityGroup> securityGroupRepository,
                         IRepository <Core.Domain.Filter> filterRepository,
                         IVisualService visualService,
                         ILocalizationService localizationService,
                         IPermissionService permissionService,
                         HttpContextBase httpContext,
                         IWorkContext workContext,
                         IDbContext dbContext)
 {
     this._visualRepository        = visualRepository;
     this._visualFilterRepository  = visualFilterRepository;
     this._securityGroupRepository = securityGroupRepository;
     this._filterRepository        = filterRepository;
     this._localizationService     = localizationService;
     this._visualService           = visualService;
     this._permissionService       = permissionService;
     this._httpContext             = httpContext;
     this._workContext             = workContext;
     this._dbContext = dbContext;
 }
 public PlottingController(IVisualService visualService)
 {
     _visualService = visualService;
 }
Esempio n. 7
0
 public LowLevelInstanceWrapper(IVisualService service)
 {
     _service = service;
     RibbonElements = new ObservableCollection<ICustomRibbonGroup>();
 }
Esempio n. 8
0
 public GameEngine(IVisualService visualService, IAudioService audioService, INetworkService networkService, IInputService inputService)
 {
 }