Can i check if component is already registered at runtime ?
Posted: 12 May 2025, 08:27
I have several components that use some custom control.
In every one of them i have on the CTOR a
RegisterComponent of the UserControl type it's depends on.
However if i have common control, it floods my logs with something like:
I'm in the process of cleaning up the log of any "false-positive" entries it may have.
I can i check at runtime whether I need to registerComponent or not ?
or prevent log entry in the case it's already registered...
In every one of them i have on the CTOR a
RegisterComponent of the UserControl type it's depends on.
However if i have common control, it floods my logs with something like:
Code: Select all
[NOESIS/E] /OverlayXaml_MessagesScreen;component/AssistantScreen.xaml(48,9): Component 'FSCommonUIControls.NS_SliderButtonUserControl.cSlideButtonUserControlView ()' already registeredI can i check at runtime whether I need to registerComponent or not ?
or prevent log entry in the case it's already registered...