public void Install(IIocContainer container)
        {
            container.AddPerWebRequest <CategoryManager>();
            container.AddPerWebRequest <PersonManager>();
            container.AddPerWebRequest <ProjectManager>();
            container.AddPerWebRequest <ProjectMetadataManager>();
            container.AddPerWebRequest <ProjectResourceManager>();
            container.AddPerWebRequest <UserManager>();

            container.AddPerWebRequest <CommunicationConfigurationProvider>();
            container.AddPerWebRequest <CommunicationProvider>();

            container.AddSingleton <Profile, CategoryProfile>();
            container.AddSingleton <Profile, LiteraryGenreProfile>();
            container.AddSingleton <Profile, LiteraryKindProfile>();
            container.AddSingleton <Profile, MetadataProfile>();
            container.AddSingleton <Profile, OriginalAuthorProfile>();
            container.AddSingleton <Profile, ProjectProfile>();
            container.AddSingleton <Profile, PublisherProfile>();
            container.AddSingleton <Profile, ResponsiblePersonProfile>();
            container.AddSingleton <Profile, UserProfile>();
        }
Пример #2
0
 public static void Register(IIocContainer iocContainer)
 {
     iocContainer.AddSingleton <IZvgWebClient, ZvgWebClient>();
     iocContainer.AddSingleton <IZvgObjectConverter, ZvgObjectConverter>();
     iocContainer.AddSingleton <IPropertyProvider, ZvgClient>();
 }
Пример #3
0
 public static void Register(IIocContainer iocContainer)
 {
     iocContainer.AddSingleton <IImmoscoutWebClient, ImmoscoutWebClient>();
     iocContainer.AddSingleton <IImmoscoutConverter, ImmoscouttConverter>();
     iocContainer.AddSingleton <IPropertyProvider, ImmoscoutClient>();
 }
Пример #4
0
 public static void Register(IIocContainer iocContainer)
 {
     iocContainer.AddSingleton <IOhneMaklerWebClient, OhneMaklerWebClient>();
     iocContainer.AddSingleton <IOhneMaklerConverter, OhneMaklerConverter>();
     iocContainer.AddSingleton <IPropertyProvider, OhneMaklerClient>();
 }
 public static void Register(IIocContainer iocContainer)
 {
     iocContainer.AddSingleton <IVolksbankWebClient, VolksbankWebClient>();
     iocContainer.AddSingleton <IVolksbankConverter, VolksbankConverter>();
     iocContainer.AddSingleton <IPropertyProvider, VolksbankFlowfactClient>();
 }
 public static void Register(IIocContainer iocContainer)
 {
     iocContainer.AddSingleton <IImmosuchmaschineWebClient, ImmosuchmaschineWebClient>();
     iocContainer.AddSingleton <IImmosuchmaschineConverter, ImmosuchmaschineConverter>();
     iocContainer.AddSingleton <IPropertyProvider, ImmosuchmaschineClient>();
 }
Пример #7
0
 public static void Register(IIocContainer iocContainer)
 {
     iocContainer.AddSingleton <IKskWebClient, KskWebClient>();
     iocContainer.AddSingleton <IKskEstateConverter, KskEstateConverter>();
     iocContainer.AddSingleton <IPropertyProvider, KskClient>();
 }
Пример #8
0
        public void Install(IIocContainer container)
        {
            container.AddSingleton <Profile, ConditionCriteriaDescriptionProfile>();
            container.AddSingleton <Profile, DatingCriteriaDescriptionProfile>();
            container.AddSingleton <Profile, DatingListCriteriaDescriptionProfile>();
            container.AddSingleton <Profile, FavoriteProfile>();
            container.AddSingleton <Profile, StaticTextProfile>();
            container.AddSingleton <Profile, TokenDistanceCriteriaDescriptionProfile>();
            container.AddSingleton <Profile, TokenDistanceListCriteriaDescriptionProfile>();
            container.AddSingleton <Profile, WordCriteriaDescriptionProfile>();
            container.AddSingleton <Profile, WordListCriteriaDescriptionProfile>();

            // Admin area
            container.AddSingleton <Profile, LiteraryGenreProfile>();
            container.AddSingleton <Profile, LiteraryKindProfile>();
            container.AddSingleton <Profile, ProjectProfile>();
            container.AddSingleton <Profile, ResourceProfile>();
            container.AddSingleton <Profile, ResponsibleTypeProfile>();
            container.AddSingleton <Profile, SnapshotProfile>();
            container.AddSingleton <Profile, UserProfile>();
        }
Пример #9
0
 public static void Register(IIocContainer iocContainer)
 {
     iocContainer.AddSingleton <IWunschimmoWebClient, WunschimmoWebClient>();
     iocContainer.AddSingleton <IWunschimmoConverter, WunschimmoConverter>();
     iocContainer.AddSingleton <IPropertyProvider, WunschimmoClient>();
 }