AgileWallaby.Ehcache.EhcacheServerDictionary.EhcacheServerDictionary C# (CSharp) Method

EhcacheServerDictionary() public method

public EhcacheServerDictionary ( Uri endpoint, string defaultCache ) : System
endpoint System.Uri
defaultCache string
return System
        public EhcacheServerDictionary(Uri endpoint, string defaultCache)
        {
            var serverRequest = new EhcacheServerRequest(endpoint, defaultCache, new XmlMetadataSerializationService());
            serverRequest.ContentTypeToSerializer[XmlSerializer.XmlContentType] = new XmlSerializer();
            serverRequest.ContentTypeToSerializer[StringSerializer.StringContentType] = new StringSerializer();
            this.serverRequest = serverRequest;
            this.cache = defaultCache;
        }