-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix IActivatableApplicationLifetime definition #14400
Conversation
You can test this PR using the following package version. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should inherit IApplicationLifetime as it's a lifetime
I'd prefer to move to IOptionalFeatureProvider since the feature is optional and IDynamicInterfaceCastable isn't available for netfx.
src/Avalonia.Controls/ApplicationLifetimes/IActivatableApplicationLifetime.cs
Outdated
Show resolved
Hide resolved
You can test this PR using the following package version. |
Reverted "inherit IApplicationLifetime" part for now. Merging as is, with a plan to rewrite lifetimes/app features in the future. Stuff like global "IStorageProvider" can also be integrated there as well. |
* Fix IActivatableApplicationLifetime definition * Remove ": IApplicationLifetime" for now, as API is going to change in future
This interface is not client implementable, also should inherit IApplicationLifetime as it's a lifetime