public MasterHub( IAnchorService anchorService, IUserService userService) { _anchorService = anchorService; _userService = userService; }
public MapListener(IAppContext context, AdvancedSnappingPlugin plugin, ContextMenuExtender contextMenuPresenter, IConfigService configService, IAnchorService anchorService, ISnapRestrictionService snapRestrictionService) { _context = context ?? throw new ArgumentNullException("context"); _contextMenuExtender = contextMenuPresenter ?? throw new ArgumentNullException("identifierPresenter"); _configService = configService ?? throw new ArgumentNullException("configService"); _anchorService = anchorService ?? throw new ArgumentNullException("anchorService"); _snapRestrictionService = snapRestrictionService ?? throw new ArgumentNullException("snapRestrictionService"); _plugin = plugin ?? throw new ArgumentNullException("plugin"); _plugin.MouseUp += OnMapMouseUp; _plugin.ExtentsChanged += OnMapExtentsChanged; _plugin.MapCursorChanged += OnMapCursorChanged; mapControl = (context.Map as MapControl); mapControl.SnapPointRequested += OnSnapPointRequested; mapControl.MouseMove += OnMapMouseMove; var form = mapControl.FindForm(); form.KeyPreview = true; form.KeyPress += OnApplicationKeyPress; form.MouseMove += OnApplicationMouseMove; }
public AnchorController(ILogger <AnchorController> logger, IAnchorService anchorService, IMapper mapper, IConfiguration configurationRoot) { _logger = logger; _anchorService = anchorService; _mapper = mapper; _configurationRoot = configurationRoot; }
public AnchorsController(IEntityTypeService entityTypeService, ITierService tierService, ICountryService countryService, IAnchorService anchorService, IOptions <AppConfig> appConfig) { _anchorService = anchorService; _countryService = countryService; _appConfig = appConfig; _tierService = tierService; _entityTypeService = entityTypeService; }
public CatalogsController(IAnchorService anchorService, IMerchantService merchantService, ISupplierService supplierService, ICatalogService catalogService, IOptions <AppConfig> appConfig) { _appConfig = appConfig; _catalogService = catalogService; _merchantService = merchantService; _supplierService = supplierService; _anchorService = anchorService; }
public DirectoryController(ILiveClassService liveClass , IUserService _userService , IAnchorService _anchorService ) { _liveClass = liveClass; this._userService = _userService; this._anchorService = _anchorService; }
public AnchorController(ILiveClassService liveClass , IUserService _userService , IAnchorService _anchorService , IHostingEnvironment _hostingEnvironment , MyDbContext _dbContext ) { _liveClass = liveClass; this._userService = _userService; this._anchorService = _anchorService; this._hostingEnvironment = _hostingEnvironment; this._dbContext = _dbContext; }
public RoomController(ILiveClassService liveClass , IUserService _userService , IServerService _serverService , IAnchorService _anchorService , IFollowService _followService ) { _liveClass = liveClass; this._userService = _userService; this._serverService = _serverService; this._anchorService = _anchorService; this._followService = _followService; }
public RtmpLiveController(IAnchorService anchorService) { _anchorService = anchorService; }
/// <summary> /// Initializes a new instance of the <see cref="AnchorsController"/> class. /// </summary> /// <param name="anchorKeyCache">The anchor key cache.</param> public AnchorsController(IAnchorService anchorService) { _anchorService = anchorService; }
public CatalogService(IAnchorService anchorService, ICodeGeneratorService codeGeneratorService, IBaseRepository <Catalog> baseRepository) : base(baseRepository) { _baseRepository = baseRepository; _codeGeneratorService = codeGeneratorService; _anchorService = anchorService; }