コード例 #1
0
ファイル: Configuration.cs プロジェクト: s-leonard/Tarts
 public Configuration()
 {
     ConnectionString = "";
     ProviderName = "";
     ParsingRules = new ConcurrentDictionary<string, string>();
     CacheService =new DefaultCacheService();
     CurrentContextMode = CurrentContextModes.Web;
 }
コード例 #2
0
ファイル: Configuration.cs プロジェクト: s-leonard/Tarts
 public Configuration WithContextModeOf(CurrentContextModes requestedContextType)
 {
     this.CurrentContextMode = requestedContextType;
     return this;
 }