public SettingsDialog(IFindCustomAttributes <SettingsPanelAttribute> settingAttributes) { if (settingAttributes == null) { throw new ArgumentNullException(nameof(settingAttributes)); } _settingAttributes = settingAttributes; _panelCache = new Dictionary <Type, XenVisualElement>(); }
public DefaultPropertyEditorManager(ITypeFinder typeFinder, IFindCustomAttributes <PropertyEditorAttribute> attributeFinder) { _typeFinder = typeFinder; _associations = attributeFinder.FindAll(); }
public MenuBuilder(IFindCustomAttributes <MenuPlacementAttribute> finder) { _attributes = finder.FindAll(); _attributes.LogDiagnostics(XenLogLevel.Trace); }