Spotify.NET/.vscode/csharp.code-snippets

52 lines
1.2 KiB
Plaintext
Raw Normal View History

2020-05-01 19:05:28 +01:00
{
"class-model": {
2020-05-01 19:05:28 +01:00
"scope": "csharp",
"prefix": "class-model",
2020-05-01 19:05:28 +01:00
"body": [
"namespace SpotifyAPI.Web",
"{",
2020-05-08 10:10:53 +01:00
" public class $TM_FILENAME_BASE",
2020-05-01 19:05:28 +01:00
" {",
2020-05-08 10:10:53 +01:00
" public ${2:string} ${3:Name} { get; set; }",
2020-05-01 19:05:28 +01:00
"",
" $4",
" }",
"}"
],
"description": "Creates a new model"
2020-05-08 10:10:53 +01:00
},
"class-request": {
2020-05-08 10:10:53 +01:00
"scope": "csharp",
"prefix": "class-request",
2020-05-08 10:10:53 +01:00
"body": [
"namespace SpotifyAPI.Web",
"{",
" public class $TM_FILENAME_BASE : RequestParams",
" {",
" [QueryParam(\"${3:Name}\")]",
" public ${2:string} ${3:Name} { get; set; }",
"",
" $4",
" }",
"}"
],
"description": "Creates a new request"
2020-05-28 15:30:17 +01:00
},
"reqcomment": {
"scope": "csharp",
"prefix": "reqcomment",
"body": "The request-model which contains required and optional parameters.",
"description": "Creates a new request comment for XAML"
},
"remark": {
"scope": "csharp",
"prefix": "remark",
"body": [
"<remarks>",
"/// $1",
"/// </remarks>"
],
"description": "Creates a new request comment for XAML"
2020-05-01 19:05:28 +01:00
}
}