示例#1
0
        public byte[] Get(string key)
        {
            if (key == null)
            {
                throw new ArgumentNullException(nameof(key));
            }

            Connect();

            return(Encoding.ASCII.GetBytes(_cacheRegion.Get(key)));
        }