/// <summary> /// Add a Custom Binda Strategy for specific controls /// </summary> /// <param name="strategy"></param> /// <param name="controls"></param> public void AddRegistration(BindaStrategy strategy, params Control[] controls) { Array.ForEach(controls, x => _controlStrategies[x] = strategy); }
/// <summary> /// Add a Custom Binda Strategy for a control type. /// </summary> /// <param name="controlType"></param> /// <param name="strategy"></param> public void AddRegistration(Type controlType, BindaStrategy strategy) { _typeStrategies[controlType] = strategy; }