Skip to content

Instantly share code, notes, and snippets.

@zubivan
zubivan / coverage.json
Last active April 5, 2019 15:52
Nukeeper.Test coverlet output
View coverage.json
{
"NuKeeper.BitBucketLocal.dll": {
"/NuKeeper/Nukeeper.BitBucketLocal/BitBucketLocalPlatform.cs": {
"NuKeeper.BitBucketLocal.BitBucketLocalPlatform": {
"System.Void NuKeeper.BitBucketLocal.BitBucketLocalPlatform::Initialise(NuKeeper.Abstractions.Configuration.AuthSettings)": {
"Lines": {
"29": 0,
"30": 0,
"31": 0,
"32": 0,
@zubivan
zubivan / KeyValuePairExtensions.cs
Created July 10, 2019 13:58
Destructuring example
View KeyValuePairExtensions.cs
public static class Example
{
public void Main()
{
var (key, value) = new KeyValuePair<string, bool>("example", true);
var dictionary = new Dictionary<string, bool>();
foreach (var (k, v) in dictionary)
{