示例#1
0
        public SaveViewsBackgroundService(IBackgroundServiceService backgroundServiceService, IPostViewRepository postViewRepository, PostViewStore viewStore)
            : base(backgroundServiceService)
        {
            this.postViewRepository = postViewRepository;
            this.viewStore          = viewStore;

            ID       = new Guid("{034DDBAA-3484-4e6d-BBA6-6E7981B28C0B}");
            Name     = "Oxite View Tracking";
            Category = "Background Services";
        }
示例#2
0
 public PostViewService(IPostViewRepository repository, PostViewStore viewStore)
 {
     this.repository = repository;
     this.viewStore  = viewStore;
 }