mirror of
https://github.com/oliverbooth/X10D
synced 2024-11-23 00:18:47 +00:00
🐞 Add issue templates
This commit is contained in:
parent
5821094569
commit
3a615124ce
24
.github/ISSUE_TEMPLATE/bug_report.md
vendored
Normal file
24
.github/ISSUE_TEMPLATE/bug_report.md
vendored
Normal file
@ -0,0 +1,24 @@
|
||||
---
|
||||
name: Bug report
|
||||
about: Create a report to help us improve
|
||||
title: ''
|
||||
labels: bug
|
||||
assignees: oliverbooth
|
||||
|
||||
---
|
||||
|
||||
**Describe the bug**
|
||||
A clear and concise description of what the bug is.
|
||||
|
||||
**To Reproduce**
|
||||
Steps to reproduce the behavior:
|
||||
1. Go to '...'
|
||||
2. Click on '....'
|
||||
3. Scroll down to '....'
|
||||
4. See error
|
||||
|
||||
**Expected behavior**
|
||||
A clear and concise description of what you expected to happen.
|
||||
|
||||
**Additional context**
|
||||
Add any other context about the problem here.
|
45
.github/ISSUE_TEMPLATE/extension-method-request.md
vendored
Normal file
45
.github/ISSUE_TEMPLATE/extension-method-request.md
vendored
Normal file
@ -0,0 +1,45 @@
|
||||
---
|
||||
name: Extension method request
|
||||
about: Make a request for an extension method you believe should be implemented
|
||||
title: ''
|
||||
labels: ''
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
**Type**
|
||||
Provide the fully-qualified type name of the extension method you wish to have here. Example:
|
||||
```cs
|
||||
System.String
|
||||
```
|
||||
|
||||
**Extension method signature**
|
||||
Provide the full method signature here, without parameter names, but do not include the leading `this T x` parameter. Example:
|
||||
```cs
|
||||
string Random(int, System.Random)
|
||||
```
|
||||
|
||||
**Parameters**
|
||||
Document each of the parameters here, with their name and description - i.e. this would be equivalent to the entry in the XMLDoc. Use a table layout like in the following example:
|
||||
| Parameter | Type | Description |
|
||||
|- |- |- |
|
||||
|length|`int`|The length of the string to generate.|
|
||||
|random|`System.Random`|The instance of `System.Random` to use for the operation|
|
||||
|
||||
**Description**
|
||||
Briefly but concisely document the method's purpose here. i.e. This would be the `<summary>` entry in the XMLDoc.
|
||||
|
||||
**Benefits**
|
||||
Give a reason as to why this method should be added. Does it add a need not satisified by any other X10D method? Does .NET not offer similar operations? Why should this method exist?
|
||||
|
||||
**Drawbacks**
|
||||
Give a reason as to why this method should *not* be added. Is it an expensive operation? Does it defy .NET guidelines? If you cannot think of any, leave this blank.
|
||||
|
||||
**(Optional) Implementation example**
|
||||
If you prefer, you can give an example of how this method might be implemented using a C# codeblock.
|
||||
Do not include the method signature here - just the body.
|
||||
```cs
|
||||
{
|
||||
// code
|
||||
}
|
||||
```
|
Loading…
Reference in New Issue
Block a user