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