Inheritance: ICacheConfiguration
コード例 #1
0
ファイル: HostConfig.cs プロジェクト: punitganshani/KonfDB
 public HostConfig()
 {
     Runtime = new HostRuntimeConfiguration();
     Caching = new CacheConfigurationSection();
     Database = new DatabaseProviderCollection();
     Certificate = new CertificateProviderCollection();
 }
コード例 #2
0
ファイル: ClientConfig.cs プロジェクト: punitganshani/KonfDB
 public ClientConfig()
 {
     Runtime = new ClientRuntimeConfiguration();
     Caching = new CacheConfigurationSection
     {
         Enabled = true,
         ProviderType = typeof (InMemoryCacheStore).AssemblyQualifiedName
     };
 }