Пример #1
0
 public HomeController(IDataExtension <ApplicationUser> userExtension,
                       IDataExtension <AnAssociation> anAssociationExtension,
                       IDataExtension <ActivityTerm> activityTermExtension)
 {
     _userExtension          = userExtension;
     _anAssociationExtension = anAssociationExtension;
     _activityTermExtension  = activityTermExtension;
 }
Пример #2
0
 public HobbysController(IDataExtension <Hobby> hobbyExtension,
                         IDataExtension <BusinessImage> businessImageExtension,
                         IHostingEnvironment hostingEnv)
 {
     _hobbyExtension         = hobbyExtension;
     _businessImageExtension = businessImageExtension;
     _hostingEnv             = hostingEnv;
 }
Пример #3
0
 public ShoolStartController(IDataExtension <AnAssociation> anassociationExtension, IDataExtension <AnAssociationAndUser> anassociationAndUserExtension,
                             IDataExtension <ActivityTerm> activityTermExtension,
                             IDataExtension <HomeExhibition> homeExhibitionRepository)
 {
     this._anassociationExtension        = anassociationExtension;
     this._anassociationAndUserExtension = anassociationAndUserExtension;
     this._activityTermExtension         = activityTermExtension;
     this._homeExhibitionRepository      = homeExhibitionRepository;
 }
Пример #4
0
 public AccountController(SignInManager <ApplicationUser> signInManager,
                          UserManager <ApplicationUser> userManager,
                          IDataExtension <ApplicationUser> userExtension,
                          IDataExtension <BusinessImage> businessImageExtension,
                          IDataExtension <UserFriend> userFriendExtension)
 {
     this._signInManager          = signInManager;
     this._userManager            = userManager;
     this._userExtension          = userExtension;
     this._businessImageExtension = businessImageExtension;
     this._userFriendExtension    = userFriendExtension;
 }
 public ApplicationUserController(UserManager <ApplicationUser> userManager, IDataExtension <ApplicationUser> userExtension,
                                  IDataExtension <UserFriend> userFriendExtension, IDataExtension <ActivityUser> activityUserExtension, IDataExtension <AnAssociation> anAssociationExtension,
                                  IDataExtension <AnAssociationAndUser> userAnAssociationExtension, IDataExtension <ActivityTerm> activityTermExtension)
 {
     _userManager                = userManager;
     _userExtension              = userExtension;
     _userFriendExtension        = userFriendExtension;
     _activityUserExtension      = activityUserExtension;
     _anAssociationExtension     = anAssociationExtension;
     _userAnAssociationExtension = userAnAssociationExtension;
     _activityTermExtension      = activityTermExtension;
 }
Пример #6
0
 public AnAssociationController(IEntityRepository <AnAssociation> repository,
                                IDataExtension <AnAssociation> anAssociationExtension,
                                UserManager <ApplicationUser> userManager,
                                IHostingEnvironment hostingEnv,
                                IDataExtension <BusinessImage> businessImageRepository,
                                IDataExtension <AnAssociationAndUser> anAssociationAndUserExtension,
                                IDataExtension <ActivityTerm> activityTermExtension)
 {
     _anAssociationRepository = repository;
     _anAssociationExtension  = anAssociationExtension;
     _userManager             = userManager;
     _hostingEnv = hostingEnv;
     _businessImageRepository       = businessImageRepository;
     _anAssociationAndUserExtension = anAssociationAndUserExtension;
     _activityTermExtension         = activityTermExtension;
 }
Пример #7
0
 public AnAssociationViewController(IEntityRepository <AnAssociation> anAssociationRepository,
                                    IDataExtension <AnAssociation> anAssociationExtension,
                                    IDataExtension <AnAssociationAndUser> anAssociationAndUserExtension,
                                    UserManager <ApplicationUser> userManager,
                                    IDataExtension <ApplicationUser> userExtension,
                                    IDataExtension <BusinessImage> businessImageExtension,
                                    IDataExtension <ActivityTerm> activityTermExtension,
                                    IDataExtension <MessageNotification> notificationExtension)
 {
     _anAssociationRepository       = anAssociationRepository;
     _anAssociationExtension        = anAssociationExtension;
     _anAssociationAndUserExtension = anAssociationAndUserExtension;
     _userManager            = userManager;
     _userExtension          = userExtension;
     _businessImageExtension = businessImageExtension;
     _activityTermExtension  = activityTermExtension;
     _notificationExtension  = notificationExtension;
 }
 public ActivityTermViewController(IEntityRepository <ActivityTerm> repository,
                                   IDataExtension <ActivityTerm> activityTermExtension,
                                   IEntityRepository <ActivityUser> activityUserRepository,
                                   IDataExtension <ActivityUser> activityUserExtension,
                                   UserManager <ApplicationUser> userManager,
                                   IDataExtension <BusinessImage> businessImageExtension,
                                   IDataExtension <ApplicationUser> userExtension, IDataExtension <MessageNotification> notificationExtension,
                                   IDataExtension <ActivityComment> commonExtension)
 {
     _activityTermRepository = repository;
     _activityTermExtension  = activityTermExtension;
     _activityUserRepository = activityUserRepository;
     _activityUserExtension  = activityUserExtension;
     _userManager            = userManager;
     _businessImageExtension = businessImageExtension;
     _userExtension          = userExtension;
     _notificationExtension  = notificationExtension;
     _commonExtension        = commonExtension;
 }
Пример #9
0
 public ActivityTermController(IEntityRepository <ActivityTerm> repository,
                               IDataExtension <ActivityTerm> activityTermExtension,
                               UserManager <ApplicationUser> userManager,
                               IDataExtension <BusinessImage> businessImageRepository,
                               IHostingEnvironment hostingEnv,
                               IDataExtension <BusinessImage> businessImageExtension,
                               IDataExtension <ActivityUser> activityUserExtension,
                               IDataExtension <ActivityComment> commonExtension,
                               IDataExtension <HomeExhibition> homeExhibitionExtension)
 {
     _activityTermRepository  = repository;
     _activityTermExtension   = activityTermExtension;
     _userManager             = userManager;
     _businessImageRepository = businessImageRepository;
     _hostingEnv              = hostingEnv;
     _businessImageExtension  = businessImageExtension;
     _activityUserExtension   = activityUserExtension;
     _commonExtension         = commonExtension;
     _homeExhibitionExtension = homeExhibitionExtension;
 }
 /// <summary>
 ///
 /// </summary>
 public PersonalCenterController(IDataExtension <ActivityUser> activityUserExtension, IDataExtension <AnAssociation> anAssociationExtension,
                                 IDataExtension <AnAssociationAndUser> userAnAssociationExtension,
                                 IDataExtension <Hobby> hobbyExtension,
                                 IDataExtension <ActivityTerm> activityTermExtension,
                                 IDataExtension <BusinessImage> businessImageExtension,
                                 UserManager <ApplicationUser> userManager,
                                 IDataExtension <ApplicationUser> userExtension,
                                 IDataExtension <ApplicationUserAndHobby> userHoppyExtension,
                                 IDataExtension <UserFriend> userFriendExtension,
                                 IDataExtension <ActivityComment> commonExtension)
 {
     _activityUserExtension      = activityUserExtension;
     _activityTermExtension      = activityTermExtension;
     _hobbyExtension             = hobbyExtension;
     _businessImageExtension     = businessImageExtension;
     _userManager                = userManager;
     _userExtension              = userExtension;
     _userHoppyExtension         = userHoppyExtension;
     _userFriendExtension        = userFriendExtension;
     _anAssociationExtension     = anAssociationExtension;
     _userAnAssociationExtension = userAnAssociationExtension;
     _commonExtension            = commonExtension;
 }
Пример #11
0
 public PersonController(IEntityRepository <Person> repository, IDataExtension <Person> personExtension)
 {
     _PersonRepository = repository;
     _PersonExtension  = personExtension;
 }
 public HomeExhibitionController(IDataExtension <HomeExhibition> homeExhibitionRepository)
 {
     this._homeExhibitionRepository = homeExhibitionRepository;
 }
Пример #13
0
 public void Unregister(IDataExtension extension)
 {
     extensions.Remove(extension);
 }
Пример #14
0
 public void Register(IDataExtension extension)
 {
     extensions.Add(extension);
 }
 public TimerServiceExtensions(IDataExtension <ActivityTerm> activityTermExtension)
 {
     _activityTermExtension = activityTermExtension;
 }