Example #1
0
        /// <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
        }
Example #2
0
 /// <summary>
 ///
 /// </summary>
 public Builder(EventStore.Config config) : base(new EventStore(config))
 {
 }
Example #3
0
 /// <summary>
 ///
 /// </summary>
 public EventStore.Builder EventStore(EventStore.Config config)
 {
     return(new EventStore.Builder(new EventStore(config)));
 }