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

36 lines
757 B
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-01 19:05:28 +01:00
}
}