Snippet: generic type constraint

property value
IDE Visual Studio
Language C#
Title generic type constraint
Shortcut where
Description generic type constraint
Snippet Types Expansion

Placeholders

Identifier Tooltip Default Value Editable Function Type Name
_typeParameter Generic type parameter T yes
constraint Constraint class yes

Code

where T : class