Nexus.Client.Games.Steam.KeyValue.this C# (CSharp) Method

this() public method

Gets the child KeyValue with the specified key. If no child with this key exists, Invalid is returned.
public this ( string key ) : KeyValue
key string
return KeyValue
		public KeyValue this[string key]
		{
			get
			{
				var child = Children
					.FirstOrDefault(c => string.Equals(c.Name, key, StringComparison.OrdinalIgnoreCase));

				return child ?? Invalid;
			}
		}