Esempio n. 1
0
 public OutcomeService(
     IStatusUpdateService statusUpdateService,
     IFileService fileService)
 {
     _statusUpdateService = statusUpdateService;
     _fileService         = fileService;
 }
 public ParallelCompressionService(
     ICompressionService compressionService,
     IStatusUpdateService statusUpdateService,
     IInputOverflowControlSettings inputOverflowControlSettings)
 {
     _compressionService           = compressionService;
     _statusUpdateService          = statusUpdateService;
     _inputOverflowControlSettings = inputOverflowControlSettings;
 }
        //private readonly ILogger<HomeController> _logger;


        public ProjectController()
        {
            context              = new CrowdfundDB();
            userService_         = new UserService(context);
            projectService_      = new ProjectService(context, userService_);
            rewardService_       = new RewardService(context, projectService_);
            rewardUserService_   = new RewardUserService(context, userService_, projectService_, rewardService_);
            statusUpdateService_ = new StatusUpdateService(context, projectService_);
        }
Esempio n. 4
0
 public DestinationStreamWriter(
     IStreamUtilsService streamUtilsService,
     IStatusUpdateService statusUpdateService,
     IOutputOverflowControlSettings outputOverflowControlSettings,
     IDestinationStreamService destinationStreamService)
 {
     _streamUtilsService            = streamUtilsService;
     _statusUpdateService           = statusUpdateService;
     _outputOverflowControlSettings = outputOverflowControlSettings;
     _destinationStreamService      = destinationStreamService;
 }
Esempio n. 5
0
 public HomePresenter()
 {
     _userSession         = new UserSession();
     _accountService      = new AccountService();
     _redirector          = new Redirector();
     _profileService      = new ProfileService();
     _privacyService      = new PrivacyService();
     _friendService       = new FriendService();
     _StatusUpdateService = new StatusUpdateService();
     _webContext          = new WebContext();
 }
Esempio n. 6
0
 public StreamToQueueReader(
     IStreamUtilsService streamUtilsService,
     IStatusUpdateService statusUpdateService,
     ICompressionSettings compressionSettings,
     ISourceStreamService sourceService)
 {
     _streamUtilsService  = streamUtilsService;
     _statusUpdateService = statusUpdateService;
     _compressionSettings = compressionSettings;
     _sourceService       = sourceService;
 }
Esempio n. 7
0
 public UserProfilePresenter()
 {
     _alertService = new AlertService();
     _profileService = new ProfileService();
     _userSession = new UserSession();
     _webContext = new WebContext();
     _accountService = new AccountService();
     _redirector = new Redirector();
     _privacyService = new PrivacyService();
     _friendService = new FriendService();
     _StatusUpdateService = new StatusUpdateService();
 }
Esempio n. 8
0
 public HomeController(ILogger <HomeController> logger, IStatusUpdateService _statusUpdateService, ILoginService _loginService, IBackerService _backerService, IRewardPackageService _rewardPackageService, IMediaService _mediaService, IProjectService _projectService, IProjectCreatorService _projectCreatorService, ITransactionService _transactionService)
 {
     _logger               = logger;
     backerService         = _backerService;
     rewardPackageService  = _rewardPackageService;
     mediaService          = _mediaService;
     projectService        = _projectService;
     projectCreatorService = _projectCreatorService;
     transactionService    = _transactionService;
     loginService          = _loginService;
     statusUpdateService   = _statusUpdateService;
 }
        public StreamViewModel(
            IStatusUpdateService statusUpdateService,
            IPluginRepository pluginsRepository,
            StreamConfigurationViewModel streamConfigurationViewModel)
        {
            _pluginsRepository = pluginsRepository;
            _statusUpdate = statusUpdateService;

            StreamConfiguration = streamConfigurationViewModel;
            StreamConfiguration.Parent = this;

            Updates = new BindableList<IStatusUpdate>(_statusUpdate.OutgoingUpdates);
            _settings = CompositionManager.Get<IApplicationSettingsProvider>();
        }
Esempio n. 10
0
        protected void Page_Load(object sender, EventArgs e)
        {
            _usersession   = new UserSession();
            _ac            = new AccountRepository();
            _pr            = new UserProfilePresenter();
            _statusService = new SPKTCore.Core.Impl.StatusUpdateService();
            Friendship1.setidac(acid);
            com1.setidac(acid);

            // add.setidac(acid);
            mess1.setidac(acid);
            load();
            com1.setidst(idst);
            //mess1.setidac(Int32.Parse(Label3.Text));
        }
Esempio n. 11
0
        protected void Page_Load(object sender, EventArgs e)
        {
            _usersession = new UserSession();
            _ac = new AccountRepository();
            _pr = new UserProfilePresenter();
            _statusService = new SPKTCore.Core.Impl.StatusUpdateService();
            Friendship1.setidac(acid);
            com1.setidac(acid);

               // add.setidac(acid);
            mess1.setidac(acid);
            load();
            com1.setidst(idst);
            //mess1.setidac(Int32.Parse(Label3.Text));
        }
        public void Start(IStatusUpdateService updateRepository)
        {
            _statusUpdate = updateRepository;

            if (Parent == null)
                Parent = _pluginRepository.Microblogs.OfType<Twitter>().First();

            _twitterClient = Parent._twitterClient;
        }
Esempio n. 13
0
 public StatusControlPresenter()
 {
     _userSession=new UserSession();
     _accountService = new AccountService();
     _statusUpdateService = new StatusUpdateService();
 }
Esempio n. 14
0
 public StatusControlPresenter()
 {
     _userSession         = new UserSession();
     _accountService      = new AccountService();
     _statusUpdateService = new StatusUpdateService();
 }
 public StatusUpdateController(IStatusUpdateService statusUpdateService)
 {
     this.statusUpdateService = statusUpdateService;
 }