Exemplo n.º 1
0
 public void SetUp(IRegisterComponent registerComponent)
 {
     registerComponent.RegisterType <IElementServices, ElementServices>();
     registerComponent.RegisterType <IUserServices, UserServices>();
     registerComponent.RegisterType <ITokenServices, TokenServices>();
     registerComponent.RegisterType <ISpeakerService, SpeakerService>();
 }
Exemplo n.º 2
0
 public void SetUp(IRegisterComponent registerComponent)
 {
     registerComponent.RegisterType <IProjectServices, ProjectServices>();
     registerComponent.RegisterType <ITaskServices, TaskServices>();
     registerComponent.RegisterType <IUserServices, UserServices>();
     registerComponent.RegisterType <IParentTaskServices, ParentTaskServices>();
 }
Exemplo n.º 3
0
 public void SetUp(IRegisterComponent registerComponent)
 {
     registerComponent.RegisterType <IProductServices, ProductServices>();
     registerComponent.RegisterType <IDairyServices, DairyServices>();
     registerComponent.RegisterType <IUserServices, UserServices>();
     registerComponent.RegisterType <ITokenServices, TokenServices>();
 }
Exemplo n.º 4
0
 public void SetUp(IRegisterComponent registerComponent)
 {
     registerComponent.RegisterType <IUnitOfWork, UnitOfWork>();
     registerComponent.RegisterType <IProductServices, ProductServices>();
     registerComponent.RegisterType <IUserServices, UserServices>();
     registerComponent.RegisterType <ITokenServices, TokenServices>();
 }
Exemplo n.º 5
0
 public void Setup(IRegisterComponent registerComponent)
 {
     registerComponent.RegisterType <IUserService, UserService>();
     registerComponent.RegisterType <IAccountService, AccountService>();
     registerComponent.RegisterType <IRefreshTokenService, RefreshTokenService>();
     registerComponent.RegisterType <IPostsService, PostsService>();
 }
Exemplo n.º 6
0
 public void SetUp(IRegisterComponent registerComponent)
 {
     registerComponent.RegisterType <IPatientRepository, PatientRepository>();
     registerComponent.RegisterType <IDirectTrustPatientRepository, DirectTrustPatientRepository>();
     // registerComponent.RegisterType<IUnitOfwork, UnitOfWork>();
     registerComponent.RegisterType <IDirectTrustReferrerRepository, DirectTrustReferrerRepository>();
 }
        public void SetUp(IRegisterComponent registerComponent)
        {
            //registerComponent.RegisterType<IBookServices, BookServices>();
            //registerComponent.RegisterType<IUserService, UserServices>();
            //registerComponent.RegisterType<ITokenService, TokenServices>();
            registerComponent.RegisterType <IOwinSecurityService, OwinSecurityServer>();

            #region Juan
            //registerComponent.RegisterType<IAuthorServices, AuthorServices>();
            //registerComponent.RegisterType<IPeatonUserServices, PeatonUserServices>();
            //registerComponent.RegisterType<IBusinessServices, BusinessServices.Services.BusinessServices>();
            //registerComponent.RegisterType<ITestService, BusinessServices.Services.TestService>();
            //registerComponent.RegisterType<IReportPrizeService, BusinessServices.Services.ReportPrizeService>();
            registerComponent.RegisterType <ICyclesServices, CyclesServices>();
            registerComponent.RegisterType <ICareersServices, CareersServices>();



            #endregion

            #region Develop1 = Leo
            //76



            //124
            #endregion
        }
 public void SetUp(IRegisterComponent registerComponent)
 {
     registerComponent.RegisterType<ICategoryMasterService,CategoryMasterService>();
     registerComponent.RegisterType<IEmployeeMasterService,EmployeeMasterService>();
     registerComponent.RegisterType<IEmployeeLocationService,EmployeeLocationService>();
     registerComponent.RegisterType<IEmployeeSurveyService, EmployeSurveyService>();
 }
Exemplo n.º 9
0
 public void SetUp(IRegisterComponent registerComponent)
 {
     registerComponent.RegisterType <IUserServices, UserServices>();
     registerComponent.RegisterType <ITokenServices, TokenServices>();
     registerComponent.RegisterType <ILeadServices, LeadServices>();
     registerComponent.RegisterType <IArticleServices, ArticleServices>();
     registerComponent.RegisterType <IArticleCategoryServices, ArticleCategoryServices>();
 }
Exemplo n.º 10
0
 public void SetUp(IRegisterComponent registerComponent)
 {
     registerComponent.RegisterType <ITransactionService, TransactionService>();
     registerComponent.RegisterType <IUserService, UserService>();
     registerComponent.RegisterType <IAccountService, AccountService>();
     registerComponent.RegisterType <IBudgetService, BudgetService>();
     registerComponent.RegisterType <ICommonService, CommonService>();
 }
Exemplo n.º 11
0
 public void SetUp(IRegisterComponent registerComponent)
 {
     // if more services just dup this line with <IOtherServ, OtherServ> ?
     registerComponent.RegisterType <IProductServices, ProductServices>();
     registerComponent.RegisterType <IUserServices, UserServices>();
     registerComponent.RegisterType <IBasicAuthTokenServices, BasicAuthTokenServices>();
     registerComponent.RegisterType <ITokenAuthServices, TokenAuthServices>();
 }
Exemplo n.º 12
0
 public void SetUp(IRegisterComponent registerComponent)
 {
     registerComponent.RegisterType <IAuth, Auth>();
     registerComponent.RegisterType <IBackerLogic, BackerLogic>();
     registerComponent.RegisterType <IProjectLogic, ProjectLogic>();
     registerComponent.RegisterType <ICollectionLogic, CollectionLogic>();
     //registerComponent.RegisterType(typeof(IBaseLogic<>), typeof(BaseLogic<>));
     //registerComponent.RegisterTypeWithControlledLifeTime<IUnitOfWork, UnitOfWork>();
 }
Exemplo n.º 13
0
 public void SetUp(IRegisterComponent registerComponent)
 {
     registerComponent.RegisterType<IProductServices, ProductServices>();
     registerComponent.RegisterType<IUserServices, UserServices>();
     //registerComponent.RegisterType<
     //
     //
     //
 }
Exemplo n.º 14
0
 public void SetUp(IRegisterComponent registerComponent)
 {
     //Basic Authentication Services
     registerComponent.RegisterType <IUsuarioServices, UsuarioServices>();
     registerComponent.RegisterType <ITokenServices, TokenServices>();
     //General Services
     registerComponent.RegisterType <IFotoServices, FotoServices>();
     registerComponent.RegisterType <IInspeccionServices, InspeccionServices>();
     registerComponent.RegisterType <IOrdenServices, OrdenServices>();
 }
Exemplo n.º 15
0
 public void SetUp(IRegisterComponent registerComponent)
 {
     registerComponent.RegisterType <IUserDataAccess, UserDataAccess>();
     registerComponent.RegisterType <IBodyDataAccess, BodyDataAccess>();
     registerComponent.RegisterType <IDocumentDataAccess, DocumentDataAccess>();
     registerComponent.RegisterType <IMarginDataAccess, MarginDataAccess>();
     registerComponent.RegisterType <IParagraphDataAccess, ParagraphDataAccess>();
     registerComponent.RegisterType <ITextDataAccess, TextDataAccess>();
     registerComponent.RegisterType <IAuditLogDataAccess, AuditLogDataAccess>();
     registerComponent.RegisterType <IStyleDataAccess, StyleDataAccess>();
     registerComponent.RegisterType <IStyleClassDataAccess, StyleClassDataAccess>();
     registerComponent.RegisterType <IFormatDataAccess, FormatDataAccess>();
 }
Exemplo n.º 16
0
 public void SetUp(IRegisterComponent registerComponent)
 {
     registerComponent.RegisterType <IUserAuthenticationService, UserAuthenticationServices>();
     registerComponent.RegisterType <IUserServices, UserServices>();
     registerComponent.RegisterType <ITokenServices, TokenServices>();
     registerComponent.RegisterType <IRoleService, RoleServices>();
     registerComponent.RegisterType <IDeceaseTypeService, PatientServices>();
     registerComponent.RegisterType <IPatientAdmissionService, PatientAdmissionService>();
     registerComponent.RegisterType <IDepartmentTypeServices, DepartmentTypeServices>();
     registerComponent.RegisterType <IDepartmentServices, DepartmentServices>();
     registerComponent.RegisterType <IDoctorServices, DoctorServices>();
     registerComponent.RegisterType <IDeceaseTypeServices, DeceaseTypeServices>();
 }
Exemplo n.º 17
0
 public void SetUp(IRegisterComponent registerComponent)
 {
     registerComponent.RegisterType <iCategoryMasterService, CategoryMasterServiceG>();
     registerComponent.RegisterType <iTitleMasterService, TitleMasterServiceG>();
     registerComponent.RegisterType <iClientRecordService, ClientRecordServiceG>();
     registerComponent.RegisterType <iDescriptionModuleService, DescriptionModuleServiceG>();
     registerComponent.RegisterType <iCouponService, CouponService>();
     registerComponent.RegisterType <iProjectDetailService, ProjectDetailService>();
     registerComponent.RegisterType <iDbManagerService, DbManagerService>();
     registerComponent.RegisterType <iBlogModuleService, BlogsModuleServiceG>();
     registerComponent.RegisterType <iTagsModuleService, TagsModuleServiceG>();
     registerComponent.RegisterType <iClientCommentService, ClientCommentServiceG>();
 }
Exemplo n.º 18
0
 public void SetUp(IRegisterComponent registerComponent)
 {
     registerComponent.RegisterType <IAssetService, AssetService>();
     registerComponent.RegisterType <IBadgeService, BadgeService>();
     registerComponent.RegisterType <ICampusService, CampusService>();
     registerComponent.RegisterType <ICompanyService, CompanyService>();
     registerComponent.RegisterType <IContactService, ContactService>();
     registerComponent.RegisterType <ILocationService, LocationService>();
     registerComponent.RegisterType <ILogService, LogService>();
     registerComponent.RegisterType <IStationService, StationService>();
     registerComponent.RegisterType <IVisitorService, VisitorService>();
     registerComponent.RegisterType <IVisitService, VisitService>();
 }
Exemplo n.º 19
0
        public void SetUp(IRegisterComponent registerComponent)
        {
            registerComponent.RegisterTypeWithTransientLifetimeManager <IUserStore <IdentityUser, Guid>, UserStore>();
            registerComponent.RegisterTypeWithTransientLifetimeManager <IRoleStore <IdentityRole, Guid>, RoleStore>();
            registerComponent.RegisterType <WebService.IUserWebService, UserWebService>();
            // Services


            // Validators

            registerComponent.RegisterType <IValidator <RegisterUserDto>, RegisterUserValidator>();

            //  registerComponent.RegisterType<IValidator<ChangePasswordDto>, ChangePasswordValidator>();
        }
Exemplo n.º 20
0
        public void SetUp(IRegisterComponent registerComponent)
        {
            registerComponent.RegisterTypeWithInjectedConstructor <IUnitOfWork, UnitOfWork>("CoreApp");
            registerComponent.RegisterTypeWithTransientLifetimeManager <IUserStore <IdentityUser, Guid>, UserStore>();
            registerComponent.RegisterTypeWithTransientLifetimeManager <IRoleStore <IdentityRole, Guid>, RoleStore>();

            // Services
            registerComponent.RegisterType <ILanguageService, LanguageService>();
            registerComponent.RegisterType <IUserService, UserService>();


            // Validators
            registerComponent.RegisterType <IValidator <LanguageDto>, LanguageValidator>();
            registerComponent.RegisterType <IValidator <RegisterUserDto>, RegisterUserValidator>();
        }
Exemplo n.º 21
0
        public void SetUp(IRegisterComponent registerComponent)
        {
            registerComponent.RegisterType <IUserLogic, UserLogic>();
            registerComponent.RegisterType <IPlayerLogic, PlayerLogic>();
            registerComponent.RegisterType <IAdminLogic, AdminLogic>();
            registerComponent.RegisterType <IStockLogic, StockLogic>();
            registerComponent.RegisterType <IStockHistoryLogic, StockHistoryLogic>();
            registerComponent.RegisterType <IStockNewsLogic, StockNewsLogic>();
            registerComponent.RegisterType <ITransactionLogic, TransactionLogic>();
            registerComponent.RegisterType <IInvitationCodeLogic, InvitationCodeLogic>();
            registerComponent.RegisterType <IPortfolioLogic, PortfolioLogic>();
            registerComponent.RegisterType <IGameSettingsLogic, GameSettingsLogic>();

            registerComponent.RegisterTypeWithControlledLifeTime <IUnitOfWork, UnitOfWork>();
        }
Exemplo n.º 22
0
 public void SetUp(IRegisterComponent registerComponent)
 {
     registerComponent.RegisterType <IUserRepository, UserRepository>();
     registerComponent.RegisterType <IRoleRepository, RoleRepository>();
     registerComponent.RegisterType <IReviewRepository, ReviewRepository>();
     registerComponent.RegisterType <IProductRepository, ProductRepository>();
     registerComponent.RegisterType <ICategoryRepository, CategoryRepository>();
     registerComponent.RegisterType <ICartRepository, CartRepository>();
     registerComponent.RegisterType <IFieldRepository, FieldRepository>();
     registerComponent.RegisterType <ICartItemRepository, CartItemRepository>();
     registerComponent.RegisterType <IPointSystemConfigurationRepository, PointSystemConfigurationRepository>();
 }
Exemplo n.º 23
0
 public void SetUp(IRegisterComponent registerComponent)
 {
     // if more services just dup this line with <IOtherServ, OtherServ> ?
     registerComponent.RegisterType <IPlayerInfoServices, PlayerInfoServices>();
     registerComponent.RegisterType <IUserInfoServices, UserInfoServices>();
     registerComponent.RegisterType <IPoolLastYearServices, PoolLastYearServices>();
     registerComponent.RegisterType <IPastPlayerInfoServices, PastPlayerInfoServices>();
     registerComponent.RegisterType <IConfigServices, ConfigServices>();
     registerComponent.RegisterType <ITeamScheduleServices, TeamScheduleServices>();
     registerComponent.RegisterType <INewsServices, NewsServices>();
     registerComponent.RegisterType <IPlayoffPlayerInfoServices, PlayoffPlayerInfoServices>();
     registerComponent.RegisterType <IPlayoffUserInfoServices, PlayoffUserInfoServices>();
 }
Exemplo n.º 24
0
 public void SetUp(IRegisterComponent registerComponent)
 {
     //AT: Register Service components here
     registerComponent.RegisterType <IEventServices, EventServices>();
     registerComponent.RegisterType <IUserServices, UserServices>();
     registerComponent.RegisterType <ITokenServices, TokenServices>();
     registerComponent.RegisterType <IEventAttendanceServices, EventAttendanceServices>();
     registerComponent.RegisterType <IEventServices, EventServices>();
     registerComponent.RegisterType <IMembershipServices, MembershipServices>();
     registerComponent.RegisterType <IMenuServices, MenuServices>();
     registerComponent.RegisterType <IAuthenticationService, AuthenticationService>();
     registerComponent.RegisterType <IHouseHoldServices, HouseHoldServices>();
 }
Exemplo n.º 25
0
 public void SetUp(IRegisterComponent registerComponent)
 {
     //AT: Register Service components here
     registerComponent.RegisterType<IEventServices, EventServices>();
     registerComponent.RegisterType<IUserServices, UserServices>();
     registerComponent.RegisterType<ITokenServices, TokenServices>();
     registerComponent.RegisterType<IEventAttendanceServices, EventAttendanceServices>();
     registerComponent.RegisterType<IEventServices, EventServices>();
     registerComponent.RegisterType<IMembershipServices, MembershipServices>();
     registerComponent.RegisterType<IMenuServices, MenuServices>();
     registerComponent.RegisterType<IAuthenticationService, AuthenticationService>();
     registerComponent.RegisterType<IHouseHoldServices, HouseHoldServices>();
 }
Exemplo n.º 26
0
        public void SetUp(IRegisterComponent registerComponent)
        {
            registerComponent.RegisterType<IIncomeRepository, IncomeRepository>();
            registerComponent.RegisterType<IExpenditureRepository, ExpenditureRepository>();
            registerComponent.RegisterType<ITransferRepository, TransferRepository>();

            registerComponent.RegisterType<IOwnerService, OwnerService>();
            registerComponent.RegisterType<IAccountService, AccountService>();
            registerComponent.RegisterType<IIncomeService, IncomeService>();
            registerComponent.RegisterType<IExpenditureService, ExpenditureService>();
            registerComponent.RegisterType<ITransferService, TransferService>();
        }
Exemplo n.º 27
0
 public void SetUp(IRegisterComponent registerComponent)
 {
     registerComponent.RegisterType <IUserManager, UserManager>();
     registerComponent.RegisterType <IRoleManager, RoleManager>();
     registerComponent.RegisterType <IReviewManager, ReviewManager>();
     registerComponent.RegisterType <IProductManager, ProductManager>();
     registerComponent.RegisterType <ICategoryManager, CategoryManager>();
     registerComponent.RegisterType <ICartManager, CartManager>();
     registerComponent.RegisterType <IPointSystemConfigurationManager, PointSystemConfigurationManager>();
 }
Exemplo n.º 28
0
 public void SetUp(IRegisterComponent registerComponent)
 {
     registerComponent.RegisterType <IClientService, ClientService>();
     registerComponent.RegisterType <IWorkerService, WorkerService>();
     registerComponent.RegisterType <ILoginService, LogInService>();
     registerComponent.RegisterType <IBookingService, BookingService>();
     registerComponent.RegisterType <IPaymentService, PaymentService>();
     registerComponent.RegisterType <IInformService, InformService>();
     registerComponent.RegisterType <IReviewService, ReviewService>();
 }
Exemplo n.º 29
0
        public void SetUp(IRegisterComponent registerComponent)
        {
            registerComponent.RegisterType <IClientLogic, ClientLogic>();
            registerComponent.RegisterType <IPolicyLogic, PolicyLogic>();
            registerComponent.RegisterType <IUserLogic, UserLogic>();

            registerComponent.RegisterType <IClientRepository, ClientRepository>();
            registerComponent.RegisterType <IPolicyRepository, PolicyRepository>();
            registerComponent.RegisterType <IUserRepository, UserRepository>();

            registerComponent.RegisterType <IContext, Context>();
        }
Exemplo n.º 30
0
 public void SetUp(IRegisterComponent registerComponent)
 {
     registerComponent.RegisterType <Master.IStateServices, Master.StateServices>();
     registerComponent.RegisterType <Master.IDistrictServices, Master.DistrictServices>();
     registerComponent.RegisterType <Common.IUserServices, Common.UserServices>();
     registerComponent.RegisterType <Master.IRoleServices, Master.RoleServices>();
     registerComponent.RegisterType <Master.ICategoryServices, Master.CategoryServices>();
     registerComponent.RegisterType <Vendor.IVendorServices, Vendor.VendorServices>();
 }
Exemplo n.º 31
0
 public void SetUp(IRegisterComponent registerComponent)
 {
     registerComponent.RegisterType(typeof(IEntityService<>), typeof(EntityService<>));
     registerComponent.RegisterType(typeof(IEntityService<,>), typeof(EntityService<,>));
 }
Exemplo n.º 32
0
 public void SetUp(IRegisterComponent registerComponent)
 {
     registerComponent.RegisterType <ILeaveServices, LeaveServices>();
     registerComponent.RegisterType <IUserServices, UserServices>();
     registerComponent.RegisterType <ITokenServices, TokenServices>();
 }
Exemplo n.º 33
0
 public void SetUp(IRegisterComponent registerComponent)
 {
     // register service locator
     registerComponent.RegisterType<IServiceLocator, CustomUnityServiceLocator>();
 }
        public void SetUp(IRegisterComponent registerComponent)
        {
            registerComponent.RegisterType<IUserServices, UserServices>();
            registerComponent.RegisterType<ITokenServices, TokenServices>();

        }
Exemplo n.º 35
0
 public void SetUp(IRegisterComponent registerComponent)
 {
     registerComponent.RegisterType <IPricatsEmpresaServices, PricatsEmpresaServices>();
     registerComponent.RegisterType <IUserApiServices, UserApiServices>();
     registerComponent.RegisterType <ITokenServices, TokenServices>();
 }
Exemplo n.º 36
0
 public void SetUp(IRegisterComponent registerComponent)
 {
     registerComponent.RegisterType <ISurveyTypeServices, SurveyTypeServices>();
     registerComponent.RegisterType <ISurveyServices, SurveyServices>();
     registerComponent.RegisterType <IAccountServices, AccountServices>();
     registerComponent.RegisterType <IAccountGroupServices, AccountGroupServices>();
     registerComponent.RegisterType <IAnswerServices, AnswerServices>();
     registerComponent.RegisterType <IAnswerPaperServices, AnswerPaperServices>();
     registerComponent.RegisterType <IChoicesServices, ChoicesServices>();
     registerComponent.RegisterType <IQuestionGroupServices, QuestionGroupServices>();
     registerComponent.RegisterType <IQuestionTypeService, QuestionTypeServices>();
     registerComponent.RegisterType <IQuestionServices, QuestionServices>();
     registerComponent.RegisterType <IRoleServives, RoleServices>();
     registerComponent.RegisterType <IRoleDetailServices, RoleDetailServices>();
     registerComponent.RegisterType <ITokenServices, TokenServices>();
 }
Exemplo n.º 37
0
 public void SetUp(IRegisterComponent registerComponent)
 {
     registerComponent.RegisterType <IUnitOfWork, UnitOfWork>();
 }
Exemplo n.º 38
0
 public void SetUp(IRegisterComponent registerComponent)
 {
     registerComponent.RegisterType(typeof(IGenericRepository<>), typeof(GenericRepository<>));
     registerComponent.RegisterType(typeof(IGenericRepository<,>), typeof(GenericRepository<,>));
     registerComponent.RegisterType<IUnitOfWork, UnitOfWork>();
 }
Exemplo n.º 39
0
        public void SetUp(IRegisterComponent registerComponent)
        {
 #if true
            //registerComponent.RegisterType<IDataContextAsync, LogqsoDataContext>();

           // registerComponent.RegisterType<IUnitOfWorkAsync, UnitOfWork>();
            //registerComponent.RegisterType<IRepositoryAsync<CatOperator>, Repository<CatOperator>>();

            registerComponent.RegisterType<ILogqsoControlContext, ContestqsoContext>();
            registerComponent.RegisterType<IControlUnitOfWorkAsync, ControlUnitOfWork>();
            registerComponent.RegisterType<IRepositoryAsync<CatOperator>, ResposituryControl<CatOperator>>();


#else
           //regisre  DbCFpntext cuz ef lib required
            //LogControlDB context = new Logqso.mvc.DataModel.LogControl.LogControlDB();

            var contextType = typeof(LogControlContext);

            //registerComponent.RegisterInstance<LogControlDB>(context);

#if true
            //MOVED FROM UI LATER
            //var contextType = typeof(LogControlContext);

            //registerComponent.RegisterInstance<IDataContextAsync>(context);
            Object[] Parms = new Object[] {
             contextType
             };
            registerComponent.RegisterTypeWithInjectionTypes<IUnitOfWorkAsync, UnitOfWork>(Parms, false);
#endif

            var uowType = typeof(IUnitOfWorkAsync);
                        registerComponent.RegisterType<IDataContextAsync, LogControlContext>();

            Object[] Parms2 = new Object[] {
             contextType,
             uowType
             };
            registerComponent.RegisterTypeWithInjectionTypes<IRepositoryAsync<CatOperator>, Repository<CatOperator>>(Parms2, false);
#endif

            //LOGQSOSATA
#if true
            //registerComponent.RegisterType<IDataContextAsync, LogqsoDataContext>();

            //registerComponent.RegisterType<IUnitOfWorkAsync, UnitOfWork>();
            //registerComponent.RegisterType<IRepositoryAsync<Log>, Repository<Log>>();
            //support for multiple DB
            registerComponent.RegisterType<ILogqsoDataContext, ContestqsoDataContext>();
            registerComponent.RegisterType<ILogUnitOfWorkAsync, LogUnitOfWork>();
            registerComponent.RegisterType<IRepositoryAsync<Log>, ResposituryLog<Log>>();
            


#else
            var contextTypeData = typeof(LogqsoDataContext);
            //registerComponent.RegisterType<IDataContextAsync, LogqsoDataContext>();
            //contextTypeData = typeof(IDataContextAsync);

            Object[] ParmsData = new Object[] {
             contextTypeData
             };
            registerComponent.RegisterTypeWithInjectionTypes<IUnitOfWorkDataAsync, UnitOfWorkData>(ParmsData, false);
            //registerComponent.RegisterTypeWithInjectionTypes<IUnitOfWorkAsync, UnitOfWork>(ParmsData, false);

            var uowTypeData = typeof(IUnitOfWorkDataAsync);

            Object[] ParmsData2 = new Object[] {
             contextTypeData,
             uowTypeData
             };
            registerComponent.RegisterTypeWithInjectionTypes<IRepositoryAsync<Log>, Repository<Log>>(ParmsData2, false);
#endif
            //IUnitOfWorkAsync UowObj = new UnitOfWork(context);
            //IRepositoryAsync<CatOperator> Repo = new Repository<CatOperator>(context, UowObj);
            //registerComponent.RegisterInstance<IRepositoryAsync<CatOperator>>(Repo);



            //var RepoType = typeof(IRepositoryAsync<CatOperator>);

            //Object[] Parms1 = new Object[] {
            // RepoType
            // };

            //registerComponent.RegisterTypeWithInjectionTypes<IControlService, ControlService>(Parms1, false);



        }
 public void SetUp(IRegisterComponent registerComponent)
 {
     registerComponent.RegisterType<IUnitOfWork, UnitOfWork.UnitOfWork>();
 }