FSO.Vitaboy.PropertyList.this C# (CSharp) Method

this() public method

Gets a PropertyList TimePropertyListItem instance from this PropertyList instance.
public this ( string key ) : string
key string The key of a PropertyListItem (see Bones.cs)
return string
        public string this[string key]
        {
            get
            {
                foreach (var item in Items)
                {
                    foreach (var keypair in item.KeyPairs)
                    {
                        if (keypair.Key == key)
                        {
                            return keypair.Value;
                        }
                    }
                }
                return null;
            }
        }
PropertyList