-
-
Notifications
You must be signed in to change notification settings - Fork 7
✨ Stop marking Sound as sealed #144
Copy link
Copy link
Closed
Labels
good-first-issueGood for newcomersGood for newcomershigh-priorityHigh PriorityHigh PrioritypreviewDone while in previewDone while in preview
Milestone
Description
Complete The Items Below
- I have updated the title without removing the ✨ emoji.
- I searched whether or not a feature request already exists.
Feature Request Purpose
Personally, when providing my own layer on top of Sound it would make life easier as I wouldn't resort to creating an instance and invoking it's methods like so:
public class MySound : Sound, IMySound
{
private Sound sound;
public MySound(string filePath)
{
this.sound = new Sound(filePath);
}
public void Play()
{
this.sound.Play();
}
}Solution
Marking it as sealed means I have to write more boilerplate; when I could just do:
public class MySound : Sound, IMySound
{
}Anything Else
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
good-first-issueGood for newcomersGood for newcomershigh-priorityHigh PriorityHigh PrioritypreviewDone while in previewDone while in preview