fit.Test.Double.SampleDomain.MakeKeyValues C# (CSharp) Method

MakeKeyValues() public method

public MakeKeyValues ( ) : string>>.IEnumerable
return string>>.IEnumerable
        public IEnumerable<KeyValuePair<string, string>> MakeKeyValues()
        {
            var dictionary = new Dictionary<string, string> {{"key1", "value1"}, {"key2", "value2"}};
            return dictionary.AsEnumerable().OrderBy(p => p.Key);
        }