Commit Graph

9 Commits

Author SHA1 Message Date
Cédric Luthi c94cd05b8b Obsolete UnixTimestampExtensions methods (#2121)
* The equivalent of `public static DateTimeOffset FromUnixTime(this long unixTime)` exists in the framework since .NET Framework 4.6: https://docs.microsoft.com/en-us/dotnet/api/system.datetimeoffset.fromunixtimeseconds
* The equivalent of `public static long ToUnixTime(this DateTimeOffset date)` exists in the framework since .NET Framework 4.6: https://docs.microsoft.com/en-us/dotnet/api/system.datetimeoffset.tounixtimeseconds
2020-03-03 09:30:30 -04:00
Itai Bar-Haim 4e804f61a6 Prefer using nameof(x) over literal "x" (#1781)
* updated XML docs and added some missing bits.

* prefer nameof(x) over literal "x"
2018-03-07 20:43:10 +10:00
Mordechai Zuber 44304ca70b use string per recommended style 2015-12-16 21:23:36 +02:00
Brendan Forster 80719c0033 aaaand format the code 2015-11-04 13:38:51 -08:00
Micah c3a67ae777 Creates constructors for all Models.Response.
Resolves https://github.com/octokit/octokit.net/issues/677.

Removes obscolete properties (gravatar).
Makes Models.Response properties all be protected (most were already).
2015-01-24 16:07:03 -08:00
Brendan Forster eb902bcdce tidying up some docs in the Extensions namespace 2015-01-03 09:31:35 -08:00
Amy Palamountain 1a78ed7ba7 Debugger displays 2014-02-16 17:31:15 +13:00
Amy Palamountain 8469a50c11 Unix Timestamp helper 2014-02-16 17:05:07 +13:00
Amy Palamountain 5a168f0924 💄 Lets talk about code frequencies 2014-02-16 17:05:04 +13:00