static void Main(string[] args) { var opt = new StarterOption { DisableAudit = false }; using (var starter = Starter.Create <Runner>(opt)) { starter.Container.AddFacility <LoggingFacility>(f => f.LogUsing <NLogFactory>().WithConfig("NLog.config")); starter.Run(); } Console.WriteLine("ok"); }
public LunaCache(StarterOption starterOption) { _starterOption = starterOption; Caches = new ConcurrentDictionary <string, object>(); }