/// <summary> /// Constructor /// </summary> /// <param name="widget"></param> public DropdownScreen(IDropdown <T> widget) : base("Dropdown") { TransitionObject = new WipeTransitionObject(TransitionWipeType.None); Transition.OnTime = 0f; Transition.OffTime = 0f; DropdownWidget = widget; CoverOtherScreens = false; }
/// <summary> /// Constructor /// </summary> /// <param name="imageSourceBase"> /// A string representing the base image source. /// </param> /// <param name="dropdown"> /// An item that is to be represented by this control. /// </param> public DropdownVM(string imageSourceBase, IDropdown dropdown) { _dropdown = dropdown ?? throw new ArgumentNullException(nameof(dropdown)); _imageSourceBase = imageSourceBase ?? throw new ArgumentNullException(nameof(imageSourceBase)); _dropdown.PropertyChanged += OnDropdownChanged; }
public ProductController(IUnitOfWork unitOfWork, Resource localizer, IDropdown dropdown, UserManager <ApplicationUser> userManager, INotificationService notification, IMSContext context) { _unitOfWork = unitOfWork; _localizer = localizer; _dropdown = dropdown; _userManager = userManager; _notification = notification; _context = context; }
public DropdownItem(T item, IDropdown <T> owner) { Item = item; Owner = owner; Clickable = false; OnClick += ((obj, e) => { Owner.SelectedDropdownItem = this; }); }
/// <summary> /// Constructor /// </summary> /// <param name="undoRedoManager"> /// The undo/redo manager. /// </param> /// <param name="undoableFactory"> /// The factory for creating undoable actions. /// </param> /// <param name="imageSourceBase"> /// A string representing the base image source. /// </param> /// <param name="dropdown"> /// An item that is to be represented by this control. /// </param> public DropdownVM( IUndoRedoManager undoRedoManager, IUndoableFactory undoableFactory, IDropdown dropdown, string imageSourceBase) { _undoRedoManager = undoRedoManager; _undoableFactory = undoableFactory; _dropdown = dropdown; _imageSourceBase = imageSourceBase; HandleClick = ReactiveCommand.Create <PointerReleasedEventArgs>(HandleClickImpl); _dropdown.PropertyChanged += OnDropdownChanged; }
/// <summary> /// Returns a new uncheck dropdown action. /// </summary> /// <param name="dropdown"> /// The dropdown to be unchecked. /// </param> /// <returns> /// A new uncheck dropdown action. /// </returns> public IUndoable GetUncheckDropdown(IDropdown dropdown) { return(_uncheckDropdownFactory(dropdown)); }
public RegijeController(DatabaseContext db, IDropdown dd, IHttpContextAccessor httpContext) { this.db = db; this.dd = dd; this.httpContext = httpContext; }
/// <summary> /// Constructor /// </summary> /// <param name="dropdown"> /// The dropdown to be checked. /// </param> public UncheckDropdown(IDropdown dropdown) { _dropdown = dropdown; }
public KorisniciController(DatabaseContext db, IDropdown dropdown, IEmailSender emailSender) { this.db = db; this.dropdown = dropdown; this.emailSender = emailSender; }
public LandingPage(IElement element, IDropdown dropdown) { this.element = element; this.dropdown = dropdown; }
public ExportController(IUnitOfWork unitOfWork, IMapper mapper, IDropdown dropdown) { _unitOfWork = unitOfWork; _mapper = mapper; _dropdown = dropdown; }
public DropdownItem(DropdownItem <T> inst) : base(inst) { Item = inst.Item; Owner = inst.Owner; }
public GradoviController(DatabaseContext db, IDropdown dd) { this.db = db; this.dd = dd; }
public InventarController(DatabaseContext db, IDropdown dropdown, IHttpContextAccessor http) { this.db = db; this.dropdown = dropdown; this.http = http; }
public RadniciController(DatabaseContext db, IDropdown dropdown, IHttpContextAccessor context) { this.db = db; this.dropdown = dropdown; this.context = context; }
/// <summary> /// Constructor /// </summary> /// <param name="dropdown"> /// The dropdown to be checked. /// </param> public CheckDropdown(IDropdown dropdown) { _dropdown = dropdown; }
/// <summary> /// Constructor /// </summary> /// <param name="dropdown"> /// The dropdown to be checked. /// </param> public CheckDropdown(IDropdown dropdown) { _dropdown = dropdown ?? throw new ArgumentNullException(nameof(dropdown)); }