Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private readonly MyType sth;
- public MyClass(MyType sth) //class constructor
- {
- this.sth = sth;
- }
- public MyType Sth
- {
- get { return sth; }
- }
- private readonly $MyType$ $FieldName$;
- public $ClassName$($MyType$ $FieldName$) //class constructor
- {
- this.$FieldName$ = $FieldName$;
- }
- public $MyType$ $PropName$
- {
- get { return $FieldName$; }
- }
- public readonly MyType Sth {get; private set;}
- public MyClass(MyType sth)
- {
- Sth = sth;
- }
- public $TYPE$ $NAME$ { get; private set; }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement