-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Closed
Closed
Copy link
Labels
Resolution-FixedThe issue is fixed.The issue is fixed.
Description
Prerequisites
- Write a descriptive title.
- Make sure you are able to repro it on the latest released version
- Search the existing issues.
- Refer to the FAQ.
- Refer to Differences between Windows PowerShell 5.1 and PowerShell.
Steps to reproduce
I'd like to have a single class implement both IFeedbackProvider and ICommandPredictor, however, because ISubsystem.Kind is internal, I can't specify it.
I suppose one option is to introduce a new IFeedbackProviderCommandPredictor interface for this purpose which can internally set ISubsystem.Kind to the right value.
cc @dax
Expected behavior
Able to implement both IFeedbackProvider and ICommandPredictor in a single classActual behavior
Fails to compile because there isn't a single implementation of ISubsystem.KindError details
No response
Environment data
Name Value
---- -----
PSVersion 7.4.0-preview.1
PSEdition Core
GitCommitId 7.4.0-preview.1
OS Microsoft Windows 10.0.25267
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0Visuals
No response
Metadata
Metadata
Assignees
Labels
Resolution-FixedThe issue is fixed.The issue is fixed.