Exemplo n.º 1
0
 public WireBuilderAccToggle(GetIsAvailablemethod isAvailableMethod, GetStateMethod stateProvider, PerformClickMethod clickMethod, string nameKey)
 {
     _stateProvider        = stateProvider;
     _performClickMethod   = clickMethod;
     _getIsAvailableMethod = isAvailableMethod;
     _nameKey = nameKey;
 }
Exemplo n.º 2
0
 public CommonBuilderAccToggle(GetIsAvailablemethod isAvailableMethod, GetToggleStateMethod toggleStateProvider, PerformClickMethod clickMethod, string hoverWhenEnabledKey, string hoverWhenDisabledKey)
 {
     _toggleStateProvider  = toggleStateProvider;
     _performClickMethod   = clickMethod;
     _getIsAvailableMethod = isAvailableMethod;
     _hoverWhenEnabledKey  = hoverWhenEnabledKey;
     _hoverWhenDisabledKey = hoverWhenDisabledKey;
 }