示例#1
0
        public CreateUsergroup(ISubmitActionData submitActionData) : base(submitActionData)
        {
            _templateId = new TemplateID(new ID(Settings.GetSetting("GOTO-Usergroup.Feature.Usergroup.CreateUsergroup.TemplateId", "{B6EF3982-5312-46CA-8934-E3DAD6F0D53A}")));
            _database   = Database.GetDatabase(Settings.GetSetting("GOTO-Usergroup.Feature.UsergroupCreateUsergroup..Database", "master"));
            _rootItem   = _database.GetItem(new ID(Settings.GetSetting("GOTO-Usergroup.Feature.Usergroup.CreateUsergroup.RootId", "{8EDAE83B-BB11-49FF-831D-7EA394C9738C}")));

            _xconnectService = ServiceLocator.ServiceProvider.GetService <IXConnectService>();
        }
 protected void Page_Load(object sender, EventArgs e)
 {
     _helper = new XConnectService();
     _helper.DontTrackPageView();
     InitPage();
 }
示例#3
0
 public JoinList(ISubmitActionData submitActionData) : base(submitActionData)
 {
     _xconnectService = ServiceLocator.ServiceProvider.GetService <IXConnectService>();
 }
示例#4
0
 public CreateEvent(ISubmitActionData submitActionData) : base(submitActionData)
 {
     _templateId      = new TemplateID(new ID(Settings.GetSetting("GOTO-Usergroup.Feature.Usergroup.CreateEvent.TemplateId", "{EB03188C-C8DA-49C5-8A41-9B3AE8DC2A75}")));
     _database        = Database.GetDatabase(Settings.GetSetting("GOTO-Usergroup.Feature.Usergroup.CreateEvent.Database", "master"));
     _xconnectService = ServiceLocator.ServiceProvider.GetService <IXConnectService>();
 }
 public EmotionManager(ITextAnalysisService textAnalysisService, IXConnectService xConnectService, IMapper mapper)
 {
     _xConnectService = xConnectService;
     _analysisService = textAnalysisService;
     _mapper          = mapper;
 }
 public EmotionManager()
 {
     _analysisService = new TextAnalysisService();
     _xConnectService = new XConnectService();
     _mapper          = new Mapper(Mapper.Configuration);
 }
 public ContactSubscribedToListFromField()
 {
     _xconnectService = ServiceLocator.ServiceProvider.GetService <IXConnectService>();
 }
 public RegisterUser(ISubmitActionData submitActionData) : base(submitActionData)
 {
     _xconnectService = ServiceLocator.ServiceProvider.GetService <IXConnectService>();
 }