BB.Caching.Redis.Lua.ScriptLoader.this C# (CSharp) Method

this() public method

Index to get a script for a particular key.
public this ( string key ) : string
key string /// The key. ///
return string
        public string this[string key]
        {
            get
            {
                string result;
                if (this._cache.TryGetValue(key, out result))
                {
                    return result;
                }

                this._cache[key] = ScriptLoader.LuaFileToString(key);
                return this._cache[key];
            }
        }