Beispiel #1
0
        /// <summary>
        /// Configures the cache
        /// </summary>
        public void Configure(IDictionary properties)
        {
            string referenceType = (string)properties["Type"];;

            if (referenceType != null)
            {
                _cacheLevel = MemoryCacheLevel.GetByRefenceType(referenceType.ToUpper());
            }
        }
        public void Configure(IDictionary properties)
        {
            string str = (string)properties["Type"];

            if (str != null)
            {
                this._cacheLevel = MemoryCacheLevel.GetByRefenceType(str.ToUpper());
            }
        }