[Question] Why break after `Application` type found?
MartinZikmund opened this issue · comments
While browsing the code we noticed that in MetadataProviderDiscovery
the enumeration is stopped when a type derived from Application
is found. Is this intentional? This seems that a mere change in type name could result in different output of the DiscoverMetadataProviders
method - e.g. if the type deriving from application will be called ZApplication
it will probably show up last in the list of types, so all IXamlMetadataProvider
types will be returned, but if we rename it to AAplication
it will now be discovered early and will be the only thing returned, potentially.
Hello MartinZikmund, thank you for your interest in Win32!
I have automatically added a "needs triage" label to help get things started. Our team will look into the question and answer ASAP. Other community members may also answer the question and provide feedback