Snippet: public auto property with private setter

property value
IDE Visual Studio
Language C#
Title public auto property with private setter
Shortcut pps
Description public auto-implemented property declaration with private setter
Snippet Types Expansion

Placeholders

Identifier Tooltip Default Value Editable Function Type Name
_type Property type T yes
name Property name PropertyName yes

Code

public T PropertyName { get; private set; }