Example #1
0
 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);
 }
Example #2
0
 public ControlMatcher(IUIHintControlMatcher uiHintControlMatcher, ITypeControlMatcher typeControlMatcher, IControlProvider controlProvider)
 {
     TypeControlMatcher   = typeControlMatcher;
     UIHintControlMatcher = uiHintControlMatcher;
     Controls             = controlProvider.GetAll().ToDictionary(c => c.Id, c => c);
 }