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