public ControlMatcher(ILogger <ControlMatcher> logger, IUIHintControlMatcher uiHintControlMatcher, ITypeControlMatcher typeControlMatcher, IPolymorphicFormFinder polymorphicFormFinder, IControlProvider controlProvider) { Logger = logger; TypeControlMatcher = typeControlMatcher; UIHintControlMatcher = uiHintControlMatcher; PolymorphicFormFinder = polymorphicFormFinder; Controls = controlProvider.GetAll().ToDictionary(c => c.Id, c => c); }
public ControlMatcher(IUIHintControlMatcher uiHintControlMatcher, ITypeControlMatcher typeControlMatcher, IControlProvider controlProvider) { TypeControlMatcher = typeControlMatcher; UIHintControlMatcher = uiHintControlMatcher; Controls = controlProvider.GetAll().ToDictionary(c => c.Id, c => c); }