Beispiel #1
0
 public SocialController(
     ISocialService <Entities.Social> socialService,
     IMediaHelper mediaHelper,
     IIntranetMemberService <IntranetMember> memberService,
     IMyLinksService myLinksService,
     IGroupActivityService groupActivityService,
     IActivityTagsHelper activityTagsHelper,
     IMentionService mentionService,
     IActivityLinkService activityLinkService,
     ILightboxHelper lightboxHelper,
     IFeedLinkService feedLinkService,
     IPermissionsService permissionsService)
 {
     _socialService        = socialService;
     _mediaHelper          = mediaHelper;
     _memberService        = memberService;
     _myLinksService       = myLinksService;
     _groupActivityService = groupActivityService;
     _activityTagsHelper   = activityTagsHelper;
     _mentionService       = mentionService;
     _activityLinkService  = activityLinkService;
     _lightboxHelper       = lightboxHelper;
     _feedLinkService      = feedLinkService;
     _permissionsService   = permissionsService;
 }
Beispiel #2
0
        public Character(int id, IAccountManager accountManager,
                         Lazy <IZoneManager> zoneManager,
                         DockingBaseHelper dockingBaseHelper,
                         RobotHelper robotHelper,
                         ICharacterTransactionLogger transactionLogger,
                         ICharacterExtensions characterExtensions,
                         IExtensionReader extensionReader,
                         ISocialService socialService,
                         ICorporationManager corporationManager,
                         ITechTreeService techTreeService,
                         IGangManager gangManager,
                         CharacterWalletHelper walletHelper)
        {
            _accountManager      = accountManager;
            _zoneManager         = zoneManager;
            _dockingBaseHelper   = dockingBaseHelper;
            _robotHelper         = robotHelper;
            _transactionLogger   = transactionLogger;
            _characterExtensions = characterExtensions;
            _extensionReader     = extensionReader;
            _socialService       = socialService;
            _corporationManager  = corporationManager;
            _techTreeService     = techTreeService;
            _gangManager         = gangManager;
            _walletHelper        = walletHelper;

            if (id <= 0)
            {
                id = 0;
            }

            Id = id;
        }
 public AdminNavbarController(INavbarService navbarService, IMenuService menuService, IMenuTypeService menutypeService, ISocialService socialService)
 {
     _navbarService   = navbarService;
     _menuService     = menuService;
     _menutypeService = menutypeService;
     _socialService   = socialService;
 }
Beispiel #4
0
 public UserService(IDbService dbService, DuelService duelService, ContentService contentService, ISocialService socialService)
 {
     _dbService      = dbService;
     _duelService    = duelService;
     _contentService = contentService;
     _socialService  = socialService;
 }
Beispiel #5
0
 public AdminController(IDataService dataService, AuthorizationRoot authorizationRoot, IMailService mailService, ISocialService socialService)
     : base(dataService, authorizationRoot)
 {
     _dataService = dataService;
     _mailService = mailService;
     _socialService = socialService;
 }
Beispiel #6
0
 public CatalogueController(IDataService dataService, ISocialService socialService, IMailService mailService, IConvertService convertService, AuthorizationRoot authorizationRoot)
     : base(dataService, authorizationRoot)
 {
     _socialService = socialService;
     _mailService = mailService;
     _convertService = convertService;
 }
Beispiel #7
0
 public AdminController(IDataService dataService, AuthorizationRoot authorizationRoot, IMailService mailService, ISocialService socialService)
     : base(dataService, authorizationRoot)
 {
     _dataService   = dataService;
     _mailService   = mailService;
     _socialService = socialService;
 }
Beispiel #8
0
 public CatalogueController(IDataService dataService, ISocialService socialService, IMailService mailService, IConvertService convertService, AuthorizationRoot authorizationRoot)
     : base(dataService, authorizationRoot)
 {
     _socialService  = socialService;
     _mailService    = mailService;
     _convertService = convertService;
 }
Beispiel #9
0
 public RequestFriendsListEventListener(IRealtimeSocialServiceConnectedEventSubscribable subscriptionService,
                                        [NotNull] ISocialService socialService,
                                        [NotNull] ICharacterFriendAddedEventPublisher friendAddedPublisher)
     : base(subscriptionService)
 {
     SocialService        = socialService ?? throw new ArgumentNullException(nameof(socialService));
     FriendAddedPublisher = friendAddedPublisher ?? throw new ArgumentNullException(nameof(friendAddedPublisher));
 }
Beispiel #10
0
 /// <inheritdoc />
 public CharacterGuildOnHubConnectionEventListener([JetBrains.Annotations.NotNull] ILogger <CharacterGuildOnHubConnectionEventListener> logger,
                                                   IEntityGuidMappable <CharacterGuildMembershipStatusResponse> guildStatusMappable,
                                                   [JetBrains.Annotations.NotNull] ISocialService socialService)
 {
     Logger = logger ?? throw new ArgumentNullException(nameof(logger));
     GuildStatusMappable = guildStatusMappable;
     SocialService       = socialService ?? throw new ArgumentNullException(nameof(socialService));
 }
Beispiel #11
0
    public static void Initialize()
    {
#if UNITY_ANDROID
        socialService = new GooglePlaySocialService();
#endif
        socialService?.Initialize();
        socialService?.Login();
    }
        public PersonViewModel()
        {
            this.socialService = GetService<ISocialService>();
            this.localDataService = GetService<ILocalDataService>();

            this.shareProfileCommand = new RelayCommand(ShareProfile, null);
            this.followPersonCommand = new RelayCommand(FollowPerson, null);
            this.unfollowPersonCommand = new RelayCommand(UnfollowPerson, null);
        }
Beispiel #13
0
 public SchedulerHostedService(IWholesaleService wholesale,
                               IFiberCopService fibercop,
                               ILogger <SchedulerHostedService> logger,
                               ISocialService social)
 {
     this.wholesale = wholesale;
     this.fibercop  = fibercop;
     this.logger    = logger;
     this.social    = social;
 }
Beispiel #14
0
 public MessageController(IMessageService _messageService,
                          IUserService userService,
                          ISocialService socialService
                          , ILogService logService
                          )
     : base(userService, logService)
 {
     serviceMessage     = _messageService;
     this.serviceSocial = socialService;
 }
Beispiel #15
0
 public RetrieveGuildListEventListener(IGuildStatusChangedEventSubscribable subscriptionService, IReadonlyLocalPlayerDetails localPlayerDetails,
                                       [NotNull] ISocialService socialService,
                                       [NotNull] ILog logger,
                                       [NotNull] ICharacterJoinedGuildEventPublisher guildJoinEventPublisher)
     : base(subscriptionService, localPlayerDetails)
 {
     SocialService           = socialService ?? throw new ArgumentNullException(nameof(socialService));
     Logger                  = logger ?? throw new ArgumentNullException(nameof(logger));
     GuildJoinEventPublisher = guildJoinEventPublisher ?? throw new ArgumentNullException(nameof(guildJoinEventPublisher));
 }
Beispiel #16
0
 public MessageController(IMessageService _messageService,
     IUserService userService,
     ISocialService socialService
      , ILogService logService
     )
     : base(userService, logService)
 {
     serviceMessage = _messageService;
     this.serviceSocial = socialService;
 }
Beispiel #17
0
 public GuildMemberInviteRequestModelHandler([JetBrains.Annotations.NotNull] ISocialService socialService,
                                             [JetBrains.Annotations.NotNull] ILogger <GuildMemberInviteRequestModelHandler> logger,
                                             [JetBrains.Annotations.NotNull] INameQueryService nameQueryService,
                                             [JetBrains.Annotations.NotNull] IEntityGuidMappable <PendingGuildInviteData> pendingInviteData)
 {
     SocialService     = socialService ?? throw new ArgumentNullException(nameof(socialService));
     Logger            = logger ?? throw new ArgumentNullException(nameof(logger));
     NameQueryService  = nameQueryService ?? throw new ArgumentNullException(nameof(nameQueryService));
     PendingInviteData = pendingInviteData ?? throw new ArgumentNullException(nameof(pendingInviteData));
 }
Beispiel #18
0
 public Footer(
     IPhoneService phoneSer,
     IInfoService infoSer,
     IAddressService addressSer,
     ISocialService socialSer)
 {
     _phoneSer   = phoneSer;
     _infoSer    = infoSer;
     _addressSer = addressSer;
     _socialSer  = socialSer;
 }
Beispiel #19
0
 public MainController(
     ISocialService socialService,
     ConcurrencyService concurrencyService,
     PathService pathService,
     ILogger <MainController> logger
     )
 {
     _socialService      = socialService;
     _concurrencyService = concurrencyService;
     _pathService        = pathService;
     _logger             = logger;
 }
Beispiel #20
0
 public ArtistController(
     IArtistService artistService,
     ICategoryService categoryService,
     IOrderService orderService,
     ISocialService socialService
     )
 {
     this.artistService   = artistService;
     this.categoryService = categoryService;
     this.orderService    = orderService;
     this.socialService   = socialService;
 }
Beispiel #21
0
 public MainController(
     ISocialService socialService,
     ConcurrencyService concurrencyService,
     ILogger <MainController> logger,
     GeoService geoService
     )
 {
     _socialService      = socialService;
     _concurrencyService = concurrencyService;
     _logger             = logger;
     _geoService         = geoService;
 }
 public ManagementPanelController(IPageService pageService, ISettingService settingService, ISocialService socialService, ISliderService sliderService, IGalleryService galleryService, ICategoryImageService categoryImageService, IGalleryCategoryService galleryCategoryService, UserManager <AppUser> userManager, SignInManager <AppUser> signInManager, IWebHostEnvironment hostingEnvironment)
 {
     _pageService            = pageService;
     _settingService         = settingService;
     _socialService          = socialService;
     _sliderService          = sliderService;
     _galleryService         = galleryService;
     _categoryImageService   = categoryImageService;
     _galleryCategoryService = galleryCategoryService;
     _userManager            = userManager;
     _signInManager          = signInManager;
     _hostingEnvironment     = hostingEnvironment;
 }
 public NotificationService(
     ILogger <NotificationService> logger,
     IDbService dbService,
     ConcurrencyService concurrencyService,
     PathService pathService,
     ISocialService socialService
     )
 {
     _logger             = logger;
     _dbService          = dbService;
     _concurrencyService = concurrencyService;
     _pathService        = pathService;
     _socialService      = socialService;
 }
Beispiel #24
0
 public RequestLocalPlayerCurrentGuildStatusEventListener(IRealtimeSocialServiceConnectedEventSubscribable subscriptionService,
                                                          [NotNull] ISocialService socialService,
                                                          [NotNull] IReadonlyLocalPlayerDetails playerDetails,
                                                          [NotNull] IEntityGuidMappable <CharacterGuildMembershipStatusResponse> guildMembershipMappable,
                                                          [NotNull] ILog logger,
                                                          [NotNull] IRemoteSocialHubClient socialClient)
     : base(subscriptionService)
 {
     SocialService           = socialService ?? throw new ArgumentNullException(nameof(socialService));
     PlayerDetails           = playerDetails ?? throw new ArgumentNullException(nameof(playerDetails));
     GuildMembershipMappable = guildMembershipMappable ?? throw new ArgumentNullException(nameof(guildMembershipMappable));
     Logger       = logger ?? throw new ArgumentNullException(nameof(logger));
     SocialClient = socialClient ?? throw new ArgumentNullException(nameof(socialClient));
 }
 public void selectService(Enum id)
 {
     if (id.Equals(SocialServices.FACEBOOK))
     {
         selectedService = facebook;
     }
     else if (id.Equals(SocialServices.GOOGLE_PLUS))
     {
         selectedService = googlePlus;
     }
     else
     {
         throw new Exception ("MultiSocialService received unrecognized service id.");
     }
 }
Beispiel #26
0
 public MainController(
     UserService userService,
     DuelService duelService,
     ContentService contentService,
     ISocialService socialService,
     ConcurrencyService concurrencyService,
     ILogger <MainController> logger
     )
 {
     _userService        = userService;
     _duelService        = duelService;
     _contentService     = contentService;
     _socialService      = socialService;
     _concurrencyService = concurrencyService;
     _logger             = logger;
 }
Beispiel #27
0
 public RequestAddFriendEventListener(IAddFriendModalClickedEventSubscribable subscriptionService,
                                      [NotNull][KeyFilter(UnityUIRegisterationKey.AddFriendModalWindow)] IUIButton addFriendButton,
                                      [NotNull] ISocialService socialService,
                                      [NotNull][KeyFilter(UnityUIRegisterationKey.AddFriendModalWindow)] IUIElement friendsAddModalWindow,
                                      [NotNull][KeyFilter(UnityUIRegisterationKey.AddFriendModalWindow)] IUIText friendInputText,
                                      [NotNull] ILog logger,
                                      [NotNull] ICharacterFriendAddedEventPublisher friendAddedPublisher)
     : base(subscriptionService)
 {
     AddFriendButton       = addFriendButton ?? throw new ArgumentNullException(nameof(addFriendButton));
     SocialService         = socialService ?? throw new ArgumentNullException(nameof(socialService));
     FriendsAddModalWindow = friendsAddModalWindow;
     FriendInputText       = friendInputText ?? throw new ArgumentNullException(nameof(friendInputText));
     Logger = logger ?? throw new ArgumentNullException(nameof(logger));
     FriendAddedPublisher = friendAddedPublisher ?? throw new ArgumentNullException(nameof(friendAddedPublisher));
 }
    public void Authenticate()
    {
        Debug.Log("Authenticate");
                #if UNITY_IOS
        socialService = new GameCenterService();
                #endif
                #if UNITY_ANDROID && GOOGLE_PLAY_GAMES_ENABLED
        socialService = new GooglePlayService();
        ((GooglePlayService)socialService).Init();
                #endif

        if (socialService != null)
        {
            socialService.Authenticate();
        }
    }
        protected override void Initialize(RequestContext requestContext)
        {
            base.Initialize(requestContext);

            CodeVersion = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version;

            JavascriptSDKOptions Options = new JavascriptSDKOptions();
            Options.AppId = ConfigHelper.GetConfigurationSettingValue(FBAppIdLookupKey);
            Options.ChannelUrl = null;
            Options.CheckLoginStatus = true;
            Options.EnableCookies = true;
            Options.EnableLogging = true;
            Options.EnableOAuth2 = true;
            Options.ParseXFBML = true;

            FBScriptGenerator = new CodeGenerator(Options);
            fbService = new FacebookService();
        }
 public MonthlyEmailService(IMailService mailService,
                            IIntranetMemberService <IntranetMember> intranetMemberService,
                            ILogger logger,
                            ISocialService <Social.Entities.Social> bulletinsService,
                            IEventsService <Event> eventsService,
                            INewsService <News.Entities.News> newsService,
                            IUserTagRelationService userTagService,
                            IActivityLinkService activityLinkService,
                            INotificationSettingsService notificationSettingsService,
                            INotificationModelMapper <EmailNotifierTemplate, EmailNotificationMessage> notificationModelMapper,
                            IApplicationSettings applicationSettings)
     : base(mailService, intranetMemberService, logger, notificationSettingsService, applicationSettings)
 {
     _bulletinsService        = bulletinsService;
     _eventsService           = eventsService;
     _newsService             = newsService;
     _userTagService          = userTagService;
     _activityLinkService     = activityLinkService;
     _notificationModelMapper = notificationModelMapper;
 }
Beispiel #31
0
 public SocialEditPageViewModelConverter(
     ILocalizationModelService localizationModelService,
     ISocialService <Entities.Social> socialService,
     IUserTagService userTagService,
     ILightboxHelper lightboxHelper,
     IUserTagProvider userTagProvider,
     IFeedLinkService feedLinkService,
     IGroupHelper groupHelper,
     IErrorLinksService errorLinksService,
     IUBaselineRequestContext context,
     IGroupService groupService)
     : base(errorLinksService)
 {
     _localizationModelService = localizationModelService;
     _socialService            = socialService;
     _userTagService           = userTagService;
     _lightboxHelper           = lightboxHelper;
     _userTagProvider          = userTagProvider;
     _feedLinkService          = feedLinkService;
     _groupHelper  = groupHelper;
     _context      = context;
     _groupService = groupService;
 }
Beispiel #32
0
 public SocialController(ISocialService socialService
     , IInvitService invitService
     , IProjectService projectService
     , IActivityService activityService
     , IUserStatisticsService statService
     , IUserService userService
      , ILogService logService
     , ICacheService cacheService
      , ISecurityService security
     , IMailService mail
     )
     : base(userService, logService)
 {
     this.serviceSecurity = security;
     this.serviceSocial = socialService;
     this.serviceInvit = invitService;
     this.serviceProject = projectService;
     this.serviceActivity = activityService;
     this.serviceActivity.ServiceProject = projectService;
     this.serviceStatistics = statService;
     this.serviceCache = cacheService;
     this.serviceMail = mail;
 }
Beispiel #33
0
 public SocialCreatePageViewModelConverter(
     ISocialService <Entities.Social> socialService,
     IIntranetMemberService <IntranetMember> memberService,
     IPermissionsService permissionsService,
     IUserTagProvider tagProvider,
     IFeedLinkService feedLinkService,
     IGroupMemberService groupMemberService,
     IGroupHelper groupHelper,
     IErrorLinksService errorLinksService,
     IUBaselineRequestContext context,
     IGroupService groupService)
     : base(errorLinksService)
 {
     _socialService      = socialService;
     _memberService      = memberService;
     _permissionsService = permissionsService;
     _tagProvider        = tagProvider;
     _feedLinkService    = feedLinkService;
     _groupMemberService = groupMemberService;
     _groupHelper        = groupHelper;
     _context            = context;
     _groupService       = groupService;
 }
 public SocialDetailsPageViewModelConverter(
     IFeedLinkService feedLinkService,
     IIntranetMemberService <IntranetMember> memberService,
     IUserTagService userTagService,
     ISocialService <Entities.Social> socialsService,
     ILightboxHelper lightboxHelper,
     IPermissionsService permissionsService,
     IGroupHelper groupHelper,
     IErrorLinksService errorLinksService,
     IUBaselineRequestContext context,
     IGroupService groupService)
     : base(errorLinksService)
 {
     _feedLinkService    = feedLinkService;
     _userTagService     = userTagService;
     _socialService      = socialsService;
     _memberService      = memberService;
     _lightboxHelper     = lightboxHelper;
     _permissionsService = permissionsService;
     _groupHelper        = groupHelper;
     _context            = context;
     _groupService       = groupService;
 }
Beispiel #35
0
 public SocialController(ISocialService socialService
                         , IInvitService invitService
                         , IProjectService projectService
                         , IActivityService activityService
                         , IUserStatisticsService statService
                         , IUserService userService
                         , ILogService logService
                         , ICacheService cacheService
                         , ISecurityService security
                         , IMailService mail
                         )
     : base(userService, logService)
 {
     this.serviceSecurity = security;
     this.serviceSocial   = socialService;
     this.serviceInvit    = invitService;
     this.serviceProject  = projectService;
     this.serviceActivity = activityService;
     this.serviceActivity.ServiceProject = projectService;
     this.serviceStatistics = statService;
     this.serviceCache      = cacheService;
     this.serviceMail       = mail;
 }
Beispiel #36
0
 public SocialResource(ISocialService service)
     : base((IOntologyService)service)
 {
 }
Beispiel #37
0
 public Feed(ISocialService service)
     : base(service)
 {
 }
Beispiel #38
0
 public Tweet(ISocialService service)
     : base(service)
 {
 }
 public SocialController(ISocialService socialService)
 {
     this.socialService = socialService;
 }
Beispiel #40
0
 public DnnCategoryRepository(HccRequestContext context)
     : base(context)
 {
     _socialService = Factory.CreateSocialService(context);
 }
Beispiel #41
0
 public void MyTestInitialize()
 {
     var kernel = NinjectWebCommon.CreatePublicKernel();
     service = kernel.Get<ISocialService>();
 }