public static string ToDebugStandAloneSystemConfig(this NodeConfiguration conf, ISqlNodeDbConfiguration persistence) { #if DEBUG return(conf.ToStandAloneSystemConfig(persistence, true)); #else return(conf.ToStandAloneSystemConfig(persistence, false)); #endif }
public static ActorSystem CreateSystem(this NodeConfiguration conf, ISqlNodeDbConfiguration cfg) { return(ActorSystem.Create(conf.Name, conf.ToStandAloneSystemConfig(cfg))); }