You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ActivationFactorydocumentation states that GetRuntimeClassName should return “ the runtime class name of the object that the current ActivationFactory instantiates.”
Currently, this is not possible to do using windows-rs crate.
Thanks! 🙂 I guess it's still impossible to implement it for IActivationFactory, right? Would it be useful to have an ability to override a default implementation?
For most scenarios that shouldn't matter, but yes I plan to support activation factories directly, so you won't have to think about implementing that. I also considered providing an option to override the default implementation using a trait if needed, but I'm not there yet.
Motivation
ActivationFactory
documentation states thatGetRuntimeClassName
should return “ the runtime class name of the object that the currentActivationFactory
instantiates.”Currently, this is not possible to do using
windows-rs
crate.Drawbacks
None
Rationale and alternatives
This makes authoring WinRT components incomplete and potentially error-prone.
Additional context
No response
The text was updated successfully, but these errors were encountered: