Spotify.NET/.vscode/csharp.code-snippets
2020-05-13 23:49:54 +02:00

36 lines
757 B
Plaintext

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