Thanks for considering contributing! We would love your input. We want to make contributing to this project as easy and transparent as possible, whether that's:
- Reporting a bug
- Discussing the current state of the code
- Submitting a fix
- Proposing new features
- Becoming a maintainer
If you want to participate more in-depth, for example, extending the code base, reach out to us on The Stream community. We'll show you the current architecture and you can suggest changes.
Before making significant contributions to this project, consider outlining your solution first. You can do this by generating an issue in the form of a bug report or a feature request.
Issues should be used to report problems with the library, request a new feature, or to discuss potential changes before a PR is created. When you create a new Issue, a template will be loaded that will guide you through collecting and providing the information we need to investigate.
If you find an issue that describes the problem you're having, please add your own instructions on how to reproduce it to the existing issue, rather than creating a new one. Adding a reaction can also help indicate to our maintainers that a particular problem is affecting more than just the reporter.
PRs to our library are always welcome and can be a quick way to get your fix or improvement scheduled for the next release. In general, PRs should:
- Fix/add a functionality that has been reported first through an issue.
- Address a single concern in the least number of changed lines as possible.
- Add unit or integration tests for fixed or changed functionality if needed.
- Update the documentation of the library if needed.
For changes that address core functionality or would require breaking changes (e.g. a major release), it's best to open an Issue to discuss your proposal first before starting coding your solution.
In general, we follow the "fork-and-pull" Git workflow
- Fork the repository to your own GitHub account.
- Clone the project to your machine.
- Create a branch locally with a succinct but descriptive name.
- Commit changes to the branch.
- Following any formatting and testing guidelines specific to this repo.
- Push changes to your fork.
- Open a PR in our repository and follow the PR template so that we can efficiently review the changes.
To keep the code as consistent as possible, please familiarize yourself with the existing style of the project and you can find some guidelines at Microsoft® C# Coding Conventions.
Consistency within a project is more important. Consistency within one module or function is the most important.
Note that the biggest deviation from the Microsoft® standards is that this project does not use _
to indicate private members. Instead, you should use the format this.abc
.