public FusionObjectCacheConfiguration(FusionAst ast) { Context = new System.Collections.Generic.Dictionary <string, object>(); EntryTags = new System.Collections.Generic.Dictionary <string, object>(); Mode = GetCacheModeFromName(ast.GetValue(new string[] { "mode" })); var maxLifeTimeValue = ast.GetValue(new string[] { "maximumLifetime" }); MaximumLifeTime = maxLifeTimeValue != null && (maxLifeTimeValue is int) ? (int)maxLifeTimeValue : 0; EntryIdentifier = ast["entryIdentifier"]; }
public FusionObjectCacheConfiguration() { Context = new System.Collections.Generic.Dictionary <string, object>(); EntryTags = new System.Collections.Generic.Dictionary <string, object>(); EntryIdentifier = new FusionAst(); }