Skip to content
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

Class member inheritance structure #8

Open
skataben opened this issue Oct 12, 2017 · 0 comments
Open

Class member inheritance structure #8

skataben opened this issue Oct 12, 2017 · 0 comments

Comments

@skataben
Copy link

I'm just beginning the comprehend the source code. I noticed what seems to be a significant amount of unnecessary code involving class hierarchy and redundant members, so I have a few questions.

The class BaseStreamCommons has a public member called "format".

The class AudioStream is derived from BaseStreamCommons and has a public member called "Format":

///<summary>The format or container of this file or stream.</summary>
[Description("The format or container of this file or stream."), Category("AllStreamsCommon")]
public string Format { get { return this.format; } }

Why give AudioStream this member at all? Why not give BaseStreamCommons the "Format" member?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant