These instructions have moved to https://github.com/emporia-vue-local/esphome
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$CSharpLinqMojo = @" | |
using System.Collections.Generic; | |
using System.Linq; | |
namespace CompareTool | |
{ | |
public class DictCompareOnKeyOnly : IEqualityComparer<KeyValuePair<string, string>> | |
{ | |
public bool Equals(KeyValuePair<string, string> x, KeyValuePair<string, string> y) | |
{ | |
return x.Key.Equals(y.Key); |