public static AuditConfiguration getFor(Cfg.Configuration cfg) { AuditConfiguration verCfg = null; if(cfgs.Keys.Contains(cfg)) verCfg = cfgs[cfg]; else{ verCfg = new AuditConfiguration(cfg); cfgs.Add(cfg, verCfg); cfg.BuildMappings(); } return verCfg; }