Spotify.NET/.vscode/csharp.code-snippets
2020-05-08 11:26:34 +02:00

36 lines
757 B
Plaintext

{
"model-class": {
"scope": "csharp",
"prefix": "model-class",
"body": [
"namespace SpotifyAPI.Web",
"{",
" public class $TM_FILENAME_BASE",
" {",
" public ${2:string} ${3:Name} { get; set; }",
"",
" $4",
" }",
"}"
],
"description": "Creates a new model"
},
"request-class": {
"scope": "csharp",
"prefix": "request-class",
"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"
}
}