Пример #1
0
 public ProfileService()
 {
     _profileRepository = new ProfileRepository();
     _profileAttributeRepository = new ProfileAttributeRepository();
     _levelOfExperienceRepository = new LevelOfExperienceRepository();
     _userSession = new UserSession();
     _profileAttributeService = new ProfileAttributeService();
 }
Пример #2
0
 public ProfileService()
 {
     //_profileRepository = ObjectFactory.GetInstance<IProfileRepository>();
     //_profileAttributeRepository = ObjectFactory.GetInstance<IProfileAttributeRepository>();
     //_profileAttributeService = ObjectFactory.GetInstance<IProfileAttributeService>();
     //_levelOfExperienceTypeRepository = ObjectFactory.GetInstance<ILevelOfExperienceTypeRepository>();
     //_userSession = ObjectFactory.GetInstance<IUserSession>();
     _profileRepository = new ProfileRepository();
     _profileAttributeRepository = new ProfileAttributeRepository();
     _levelOfExperienceRepository = new LevelOfExperienceRepository();
     _userSession = new UserSession();
     _profileAttributeService = new ProfileAttributeService();
 }
Пример #3
0
 public ProfileService()
 {
     //_profileRepository = ObjectFactory.GetInstance<IProfileRepository>();
     //_profileAttributeRepository = ObjectFactory.GetInstance<IProfileAttributeRepository>();
     //_profileAttributeService = ObjectFactory.GetInstance<IProfileAttributeService>();
     //_levelOfExperienceTypeRepository = ObjectFactory.GetInstance<ILevelOfExperienceTypeRepository>();
     //_userSession = ObjectFactory.GetInstance<IUserSession>();
     _profileRepository           = new ProfileRepository();
     _profileAttributeRepository  = new ProfileAttributeRepository();
     _levelOfExperienceRepository = new LevelOfExperienceRepository();
     _userSession             = new UserSession();
     _profileAttributeService = new ProfileAttributeService();
 }
Пример #4
0
 public ManageProfilePresenter()
 {
     _levelOfExperienceRepository = new LevelOfExperienceRepository();
     _profileAttributeRepository  = new ProfileAttributeRepository();
     _profileRepository           = new ProfileRepository();
     _userSession             = new UserSession();
     _profileService          = new ProfileService();
     _profileAttributeService = new ProfileAttributeService();
     _redirector = new Redirector();
     _listProfileAttributeType = new List <ProfileAttributeType>();
     _listPrivacyFlags         = new List <PrivacyFlag>();
     _privacyRepository        = new PrivacyRepository();
     _listVisibilityLevel      = new List <VisibilityLevel>();
     profile = new Profile();
 }
Пример #5
0
 public ManageProfilePresenter()
 {
     _levelOfExperienceRepository = new LevelOfExperienceRepository();
     _profileAttributeRepository = new ProfileAttributeRepository();
     _profileRepository = new ProfileRepository();
     _userSession = new UserSession();
     _profileService = new ProfileService();
     _profileAttributeService = new ProfileAttributeService();
     _redirector = new Redirector();
     _listProfileAttributeType = new List<ProfileAttributeType>();
     _listPrivacyFlags = new List<PrivacyFlag>();
     _privacyRepository = new PrivacyRepository();
     _listVisibilityLevel = new List<VisibilityLevel>();
     profile = new Profile();
 }
Пример #6
0
 public ManageProfilePresenter()
 {
     //_levelOfExperienceRepository = ObjectFactory.GetInstance<ILevelOfExperienceTypeRepository>();
     //_profileRepository = ObjectFactory.GetInstance<IProfileRepository>();
     //_profileAttributeRepository = ObjectFactory.GetInstance<IProfileAttributeRepository>();
     //_userSession = ObjectFactory.GetInstance<IUserSession>();
     //_profileService = ObjectFactory.GetInstance<IProfileService>();
     //_redirector = ObjectFactory.GetInstance<IRedirector>();
     _levelOfExperienceRepository = new LevelOfExperienceRepository();
     _profileAttributeRepository = new ProfileAttributeRepository();
     _profileRepository = new ProfileRepository();
     _userSession = new UserSession();
     _profileService = new ProfileService();
     _profileAttributeService = new ProfileAttributeService();
     _redirector = new Redirector();
     _listProfileAttributeType = new List<ProfileAttributeType>();
 }
Пример #7
0
 public ProfileAttributeControl(Profile pro,ProfileAttributeType proAttrType, IProfileAttributeRepository repository)
 {
     _profile = pro;
     _ProfileAttributeType = proAttrType;
     _Repository = repository;
 }
 public ProfileAttributeControlFull(Profile profile,List<ProfileAttributeType> listProfileAttributeType)
 {
     _listProfileAttributeType = listProfileAttributeType;
     _profile = profile;
     _Repository = new ProfileAttributeRepository();
 }
Пример #9
0
 public ProfileAttributeControlFull(Profile profile, List <ProfileAttributeType> listProfileAttributeType)
 {
     _listProfileAttributeType = listProfileAttributeType;
     _profile    = profile;
     _Repository = new ProfileAttributeRepository();
 }
Пример #10
0
 public ProfileAttributeService()
 {
     // profileAttributeRepository = ObjectFactory.GetInstance<IProfileAttributeRepository>();
     _profileAttributeRepository = new ProfileAttributeRepository();
 }
Пример #11
0
 public ProfileAttributeControl(Profile pro, ProfileAttributeType proAttrType, IProfileAttributeRepository repository)
 {
     _profile = pro;
     _ProfileAttributeType = proAttrType;
     _Repository           = repository;
 }
Пример #12
0
 public ProfileAttributeService()
 {
     // profileAttributeRepository = ObjectFactory.GetInstance<IProfileAttributeRepository>();
     _profileAttributeRepository=new ProfileAttributeRepository();
 }