Commit Graph

6 Commits

Author SHA1 Message Date
tasadar2 3345f76fc9 Adding a convention test to detect whether a model has a constructor exposing all properties (#1798)
* Added a convention test to detect a model constructor exposing all properties

* add ctors to classes where they are missing

* rename ctor parameters that dont match properties

* add missing parameters to existing ctors

* add specific PunchCard ctor to allow mocking, and update test to resolve call ambiguity

* Added base class properties to the convention test

Added member exclusion attribute

* Updated newly offending classes

2 excludes and 2 ctors

* rename exclusion attribute to be a bit shorter
2018-04-25 21:03:13 +10:00
Brendan Forster 7d545754a7 one project builds 2014-12-14 21:37:57 +09:30
Brendan Forster 7dc70a2192 💄 using statements, incorrect docs, deprecated Octokit.Response namespace 2014-03-08 16:33:46 +11:00
Haacked 5430718c58 Add custom assert for readonly collection 2014-02-26 23:15:10 -08:00
Haacked 9eb14f3c51 Make readonly collections truly readonly
These methods actually returned mutable collections that happen
to implement the readonly interfaces. User could cast them to
the actual type and add things. I'd rather avoid even that
possibility by making these truly return readonly stuff.
2014-02-26 18:38:57 -08:00
Amy Palamountain ec5db2cdd5 👊 card statistics 2.0 2014-02-16 17:05:01 +13:00