Skip to main content

KeyValuePairs

UX friendly alternative alias of List<KeyValuePair<string, object>gt;

Assembly: ServiceStack.Text.dll
View Source
Declaration
public class KeyValuePairs : List<KeyValuePair<string, object>>, IList<KeyValuePair<string, object>>, ICollection<KeyValuePair<string, object>>, IList, ICollection, IReadOnlyList<KeyValuePair<string, object>>, IReadOnlyCollection<KeyValuePair<string, object>>, IEnumerable<KeyValuePair<string, object>>, IEnumerable

Methods

Create(String, Object)

View Source
Declaration
public static KeyValuePair<string, object> Create(string key, object value)
Returns

System.Collections.Generic.KeyValuePair<System.String,System.Object>

Parameters
TypeName
System.Stringkey
System.Objectvalue

Implements

  • System.Collections.Generic.IList<System.Collections.Generic.KeyValuePair<System.String,System.Object>>
  • System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Object>>
  • System.Collections.IList
  • System.Collections.ICollection
  • System.Collections.Generic.IReadOnlyList<System.Collections.Generic.KeyValuePair<System.String,System.Object>>
  • System.Collections.Generic.IReadOnlyCollection<System.Collections.Generic.KeyValuePair<System.String,System.Object>>
  • System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String,System.Object>>
  • System.Collections.IEnumerable