Beispiel #1
0
        public static void Setup(IObjectContainer container)
        {
            Chimera.Authentication.Views.MongoDB.Utility.Initialize(container);

            container.AddComponent <INameValueContextCollection, CallContextNamedValueCollection>();
            container.AddComponent <IUserAccountViewBuilder, UserAccountViewBuilder>();
        }
Beispiel #2
0
        public static void Setup(IObjectContainer container)
        {
            Chimera.Authentication.Views.MongoDB.Utility.Initialize(container);

              container.AddComponent<INameValueContextCollection, CallContextNamedValueCollection>();
              container.AddComponent<IUserAccountViewBuilder, UserAccountViewBuilder>();
        }
    public static void Setup(IObjectContainer container)
    {
      Xyperico.Authentication.MongoDB.Utility.Initialize(container);

      container.AddComponent<INameValueContextCollection, CallContextNamedValueCollection>();
      container.AddComponent<IUserBuilder, UserBuilder>();
      container.AddComponent<IUserNameValidator, FilebasedUserNameValidator>();
    }
Beispiel #4
0
        public static void ConfigureObjectContainer(IObjectContainer container)
        {
            container.AddComponent <INameValueContextCollection, CallContextNamedValueCollection>();

            container.AddComponent <IRecipeBuilder, RecipeBuilder>();
            container.AddComponent <IBookBuilder, BookBuilder>();
            container.AddComponent <IPageBuilder, PageBuilder>();
        }
Beispiel #5
0
        public static void ConfigureObjectContainer(IObjectContainer container)
        {
            container.AddComponent<INameValueContextCollection, CallContextNamedValueCollection>();

              container.AddComponent<IRecipeBuilder, RecipeBuilder>();
              container.AddComponent<IBookBuilder, BookBuilder>();
              container.AddComponent<IPageBuilder, PageBuilder>();
        }
    public static void Setup(IObjectContainer container)
    {
      Xyperico.Blogging.MongoDB.Utility.Initialize(container);

      container.AddComponent<INameValueContextCollection, CallContextNamedValueCollection>();
      container.AddComponent<IBlogBuilder, BlogBuilder>();
      container.AddComponent<IBlogPostBuilder, BlogPostBuilder>();
    }
Beispiel #7
0
        public static void Setup(IObjectContainer container)
        {
            SQLiteAppendOnlyStore.CreateTableIfNotExists(SqlConnectionString);

            container.AddComponent <IUserNameValidator, FilebasedUserNameValidator>();

            Chimera.Authentication.Core.ApplicationStarter.Initialize();
        }
Beispiel #8
0
        public static void Setup(IObjectContainer container)
        {
            SQLiteAppendOnlyStore.CreateTableIfNotExists(SqlConnectionString);

              container.AddComponent<IUserNameValidator, FilebasedUserNameValidator>();

              Chimera.Authentication.Core.ApplicationStarter.Initialize();
        }
Beispiel #9
0
        private static void ConfigureDependencies(IObjectContainer container)
        {
            container.AddComponent <IRecipeProvider, RecipeProvider>();
            container.AddComponent <IRecipeRepository, RecipeRepository>();

            container.AddComponent <IPageProvider, PageProvider>();
            container.AddComponent <IPageRepository, PageRepository>();

            container.AddComponent <IBookProvider, BookProvider>();
            container.AddComponent <IBookRepository, BookRepository>();
        }
Beispiel #10
0
        private static void ConfigureDependencies(IObjectContainer container)
        {
            container.AddComponent<IRecipeProvider, RecipeProvider>();
              container.AddComponent<IRecipeRepository, RecipeRepository>();

              container.AddComponent<IPageProvider, PageProvider>();
              container.AddComponent<IPageRepository, PageRepository>();

              container.AddComponent<IBookProvider, BookProvider>();
              container.AddComponent<IBookRepository, BookRepository>();
        }
Beispiel #11
0
        /// <summary>
        /// No more configuration needed for message bus - now configure something else or start the bus.
        /// </summary>
        /// <param name="cfg"></param>
        /// <returns></returns>
        public static BaseConfiguration Done(this MessageBusConfiguration cfg)
        {
            IObjectContainer      container = ObjectContainerConfigurationExtensions.GetObjectContainer(cfg);
            IDocumentStoreFactory subscriptionStoreFactory = GetSubscriptionStore(cfg);

            if (!container.HasComponent(typeof(IRouteManager)))
            {
                container.AddComponent <IRouteManager, RouteManager>();
            }
            IRouteManager routeManager = container.Resolve <IRouteManager>();

            ISubscriptionService subscriptionService = new SubscriptionService(subscriptionStoreFactory, routeManager);

            cfg.Set(SubscriptionService_SettingsKey, subscriptionService);
            container.RegisterInstance <ISubscriptionService>(subscriptionService);

            return(new BaseConfiguration(cfg));
        }
Beispiel #12
0
 static void ConfigureContainer(IObjectContainer container)
 {
     container.AddComponent<INameValueContextCollection, CallContextNamedValueCollection>();
 }
Beispiel #13
0
 private static void ConfigureDependencies(IObjectContainer container)
 {
     container.AddComponent<IPhotoProvider, PhotoProvider>();
       container.AddComponent<IPhotoRepository, PhotoRepository>();
 }
Beispiel #14
0
 static void ConfigureContainer(IObjectContainer container)
 {
     container.AddComponent <INameValueContextCollection, CallContextNamedValueCollection>();
 }
 private void ConfigureDependencies(IObjectContainer container)
 {
   Xyperico.Authentication.MongoDB.Utility.Initialize(container);
   container.AddComponent<IUserNameValidator, FilebasedUserNameValidator>();
   container.AddComponent<ICurrentUserService, CurrentUserService>();
 }
Beispiel #16
0
        public static void ConfigureObjectContainer(IObjectContainer container)
        {
            container.AddComponent <INameValueContextCollection, CallContextNamedValueCollection>();

            container.AddComponent <IProfileBuilder, ProfileBuilder>();
        }
Beispiel #17
0
 private void ConfigureDependencies(IObjectContainer container)
 {
     Chimera.Authentication.Views.MongoDB.Utility.Initialize(container);
     container.AddComponent <IUserNameValidator, FilebasedUserNameValidator>();
 }
 private void ConfigureDependencies(IObjectContainer container)
 {
     Chimera.Authentication.Views.MongoDB.Utility.Initialize(container);
       container.AddComponent<IUserNameValidator, FilebasedUserNameValidator>();
 }
Beispiel #19
0
 public static void ConfigureContainer(IObjectContainer container)
 {
     container.AddComponent<IApplicationBaseAddress, WebContextApplicationBaseUrl>();
       container.AddComponent<INameValueContextCollection, CallContextNamedValueCollection>();
       container.RegisterInstance<IObjectResolver>(Xyperico.Base.ObjectContainer.Container);
 }
Beispiel #20
0
 public static void ConfigureContainer(IObjectContainer container)
 {
     container.AddComponent <IApplicationBaseAddress, WebContextApplicationBaseUrl>();
     container.AddComponent <INameValueContextCollection, CallContextNamedValueCollection>();
     container.RegisterInstance <IObjectResolver>(Xyperico.Base.ObjectContainer.Container);
 }
Beispiel #21
0
 private static void ConfigureDependencies(IObjectContainer container)
 {
     container.AddComponent <IUserAccountViewRepository, UserAccountViewRepository>();
 }
 private static void ConfigureDependencies(IObjectContainer container)
 {
   container.AddComponent<IUserRepository, UserRepository>();
 }
Beispiel #23
0
 private static void ConfigureDependencies(IObjectContainer container)
 {
   container.AddComponent<IBlogRepository, BlogRepository>();
   container.AddComponent<IBlogPostRepository, BlogPostRepository>();
 }
Beispiel #24
0
 private static void ConfigureDependencies(IObjectContainer container)
 {
     container.AddComponent <IPhotoProvider, PhotoProvider>();
     container.AddComponent <IPhotoRepository, PhotoRepository>();
 }
Beispiel #25
0
        public static void ConfigureObjectContainer(IObjectContainer container)
        {
            container.AddComponent<INameValueContextCollection, CallContextNamedValueCollection>();

              container.AddComponent<IProfileBuilder, ProfileBuilder>();
        }