/// <summary> /// /// </summary> public EventStore.Builder EventStore(EventStore.Config config) { #if MVC return(new EventStore.Builder(new EventStore(config) { ViewContext = this.HtmlHelper != null ? this.HtmlHelper.ViewContext : null })); #else return(new EventStore.Builder(new EventStore(config))); #endif }
/// <summary> /// /// </summary> public Builder(EventStore.Config config) : base(new EventStore(config)) { }
/// <summary> /// /// </summary> public EventStore.Builder EventStore(EventStore.Config config) { return(new EventStore.Builder(new EventStore(config))); }