• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

C# ITaskService类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C#中ITaskService的典型用法代码示例。如果您正苦于以下问题:C# ITaskService类的具体用法?C# ITaskService怎么用?C# ITaskService使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



ITaskService类属于命名空间,在下文中一共展示了ITaskService类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。

示例1: TaskController

 public TaskController(IAccountService accountService, ITaskService taskService, ITaskListService taskListService, ITagService tagService)
 {
     _accountService = accountService;
     _taskService = taskService;
     _taskListService = taskListService;
     _tagService = tagService;
 }
开发者ID:kevinswarner,项目名称:Hover_OLD,代码行数:7,代码来源:TaskController.cs


示例2: TaskListController

        public TaskListController(ITaskService taskService, IObjectMapper mapper)
        {
            this.taskService = taskService;
            this.mapper = mapper;

            AllTasks = new ObservableCollection<TaskViewModel>();
        }
开发者ID:aleksandrzak-rafal,项目名称:AdaptiveCode,代码行数:7,代码来源:TaskListController.cs


示例3: TestFixtureSetUp

        public void TestFixtureSetUp()
        {
            try
            {
                CodeSharp.Core.Configuration.ConfigWithEmbeddedXml(null
                    , "application_config"
                    , Assembly.GetExecutingAssembly()
                    , "AliCooper.Model.Test.ConfigFiles")
                    .RenderProperties()
                    .Castle(o => this.Resolve(o.Container));

                //初始化同步锁
                DependencyResolver.Resolve<ILockHelper>().Init<Account>();
                DependencyResolver.Resolve<ILockHelper>().Init<GoogleConnection>();

                DependencyResolver.Resolve<ILockHelper>().Init<ArkConnection>();
            }
            catch (InvalidOperationException e)
            {
                if (!e.Message.Contains("不可重复初始化配置"))
                    Console.WriteLine(e.Message);
            }

            this._log = DependencyResolver.Resolve<ILoggerFactory>().Create(this.GetType());
            this._sessionManager = DependencyResolver.Resolve<Castle.Facilities.NHibernateIntegration.ISessionManager>();

            this._accountHelper = DependencyResolver.Resolve<IAccountHelper>();
            this._accountService = DependencyResolver.Resolve<IAccountService>();
            this._accountConnectionService = DependencyResolver.Resolve<IAccountConnectionService>();
            this._taskService = DependencyResolver.Resolve<ITaskService>();
        }
开发者ID:jazzhuang,项目名称:cooper-ali,代码行数:31,代码来源:TestBase.cs


示例4: MeazureRunner

 public MeazureRunner(ITaskService taskService, ITimeService timeService, IInputService inputService, IProjectService projectService)
 {
     _taskService = taskService;
     _timeService = timeService;
     _inputService = inputService;
     _projectService = projectService;
 }
开发者ID:surgeforward,项目名称:nagger,代码行数:7,代码来源:MeazureRunner.cs


示例5: LeadController

 public LeadController(
     ILeadService LeadService,
     IContactService contactService,
     IMembershipService membershipService,
     IRoleService roleService,
     INoteService noteService,
     IActivityService activityService,
     ISaleService saleService,
     ITaskService taskService,
     ViewDataHelper viewdataHelper,
     ICampaignService campaignService,
     ITagService tagService)
 {
     _leadService = LeadService;
     _contactService = contactService;
     _membershipService = membershipService;
     _roleService = roleService;
     _noteService = noteService;
     _activityService = activityService;
     _saleService = saleService;
     _taskService = taskService;
     _viewdataHelper = viewdataHelper;
     _campaignService = campaignService;
     _tagService = tagService;
 }
开发者ID:deboe2015,项目名称:crumb-crm,代码行数:25,代码来源:LeadController.cs


示例6: AccountController

 public AccountController(IUserService userService, IAuthorizationService authService, IAnswerService answerService, ITaskService taskService)
 {
     this.userService = userService;
     this.authService = authService;
     this.answerService = answerService;
     this.taskService = taskService;
 }
开发者ID:TheTypoMaster,项目名称:Task,代码行数:7,代码来源:AccountController.cs


示例7: MainWindowViewModel

        public MainWindowViewModel(IFooterNavigationViewModel footer, IContentViewModel content, ITaskService taskService)
        {
            _taskService = taskService;
            LogOutCommand = new DelegateCommand(() =>
            {
                LogOut(content);
            });

            var task = _taskService.GetOrCreateTask(Thread.CurrentPrincipal.Identity.Name);
            _taskService.PrepareWorkspaceForTask(task.Id);

            if(task == null)
                throw new ArgumentException("Task cannot be null");

            Footer = footer;
            Content = content;
            footer.NavigationHappened += OnFooterNavigation;

            if (task.CurrentDocument == null){
                footer.GoToFirstFile.Execute().Wait();
            }
            else
            {
                var path = Footer.LoadDocumentAndReturnItsPath(task.CurrentDocument.Name);
                Content.ImageVisualization.FilePath = path;
                Content.Fields.TotalFieldsNumber = task.Documents.Count;
                Content.Fields.TaskId = task.Id;
                content.Fields.OnNavigationHappened(task, true);
            }
        }
开发者ID:rusanov-vladimir,项目名称:magnus,代码行数:30,代码来源:MainWindowViewModel.cs


示例8: TestFixtureSetUp

        public void TestFixtureSetUp()
        {
            Configuration.ConfigWithEmbeddedXml(null, "application_config", Assembly.GetExecutingAssembly(), "Cooper.Sync.Test.ConfigFiles")
                .RenderProperties()
                .Castle(resolver => Resolve(resolver.Container));

            //初始化同步锁
            DependencyResolver.Resolve<ILockHelper>().Init<Account>();
            DependencyResolver.Resolve<ILockHelper>().Init<GoogleConnection>();

            _logger = DependencyResolver.Resolve<ILoggerFactory>().Create(GetType());
            _sessionManager = DependencyResolver.Resolve<ISessionManager>();

            _accountHelper = DependencyResolver.Resolve<IAccountHelper>();
            _accountService = DependencyResolver.Resolve<IAccountService>();
            _accountConnectionService = DependencyResolver.Resolve<IAccountConnectionService>();
            _taskService = DependencyResolver.Resolve<ITaskService>();
            _externalServiceProvider = DependencyResolver.Resolve<IExternalServiceProvider>();
            _googleTokenService = DependencyResolver.Resolve<IGoogleTokenService>();

            _syncProcessor = DependencyResolver.Resolve<IGoogleSyncProcesser>();

            GoogleSyncSettings.ClientIdentifier = "234919028272-gsmmng06nheoih4ajp60oq8s33at1os0.apps.googleusercontent.com";
            GoogleSyncSettings.ClientSecret = "jXcjxFzCQGferMI37I0GSc05";
        }
开发者ID:sunleepy,项目名称:cooper,代码行数:25,代码来源:TestBase.cs


示例9: HomeController

 public HomeController(IAccountService accountService, ITaskService taskService, IAreaService areaService, ITaskListService taskListService, ITagService tagService)
 {
     _accountService = accountService;
     _taskService = taskService;
     _areaService = areaService;
     _taskListService = taskListService;
     _tagService = tagService;
 }
开发者ID:kevinswarner,项目名称:Hover_OLD,代码行数:8,代码来源:HomeController.cs


示例10: TaskController

        // GET: Task

        public TaskController(IProjectService projectService, IUserService userService, ITaskService taskService, ITaskMapper taskMapper,IUserMapper userMapper)
        {
            this.taskMapper = taskMapper;
            this.taskService = taskService;
            this.userService = userService;
            this.projectService = projectService;
            this.userMapper = userMapper;
        }
开发者ID:PavelZakharenko,项目名称:TaskManager,代码行数:10,代码来源:TaskController.cs


示例11: TaskItemController

 public TaskItemController(ITaskService taskService,
     ITaskItemService taskItemService,
     ICaptureRuleService captureRuleService)
 {
     this.taskService = taskService;
     this.taskItemService = taskItemService;
     this.captureRuleService = captureRuleService;
 }
开发者ID:hsb0307,项目名称:Crawler5,代码行数:8,代码来源:TaskItemController.cs


示例12: AccountService

 public AccountService(IAccountRepository repository, ITaskListService taskListService, ITaskService taskService, IAreaService areaService, ITagService tagService)
 {
     _repository = repository;
     _taskListService = taskListService;
     _taskService = taskService;
     _areaService = areaService;
     _tagService = tagService;
 }
开发者ID:kevinswarner,项目名称:hovertasks,代码行数:8,代码来源:AccountService.cs


示例13: TaskMapper

        //private ITaskMapper taskMapper;
        public TaskMapper (ITaskService taskService, IUserService userService, IUserMapper userMapper, IProjectService projectService)
        {
            //this.taskMapper = taskMapper;
            this.taskService = taskService;
            this.projectService = projectService;
            this.userService = userService;
            this.userMapper = userMapper;

        }
开发者ID:PavelZakharenko,项目名称:TaskManager,代码行数:10,代码来源:TaskMapper.cs


示例14: TaskController

 public TaskController(ITaskService taskService, IAuthorizationService authorizationService, ITagService tagService, IPhotoService photoService, IAnswerService answerService,IUserService userService)
 {
     this.taskService = taskService;
     this.authorizationService = authorizationService;
     this.tagService = tagService;
     this.photoService = photoService;
     this.answerService = answerService;
     this.userService = userService;
 }
开发者ID:AntonDershen,项目名称:Task,代码行数:9,代码来源:TaskController.cs


示例15: MainPresenter

		public MainPresenter(
			ISettingsService settingsService, IRecentFilesService recentFilesService,
			IDataService dataService, ITaskService taskService)
		{
			this.settingsService = settingsService;
			this.recentFilesService = recentFilesService;
			this.dataService = dataService;
			this.taskService = taskService;
		}
开发者ID:aleffnull,项目名称:DataTable.Net,代码行数:9,代码来源:MainPresenter.cs


示例16: TaskEditorViewModel

 public TaskEditorViewModel(Widget widget, IApplicationState applicationState, ITaskService taskService, 
     ICacheService cacheService)
     : base(widget, applicationState)
 {
     _taskService = taskService;
     _cacheService = cacheService;
     Tasks = new ObservableCollection<TaskViewModel>();
     AddTaskCommand = new CaptionCommand<string>(Resources.Add, OnAddTask);
 }
开发者ID:noromamai,项目名称:SambaPOS-3,代码行数:9,代码来源:TaskEditorViewModel.cs


示例17: JiraRunner

 public JiraRunner(IOutputService outputService, ITaskService taskService, ITimeService timeService,
     IProjectService projectService, IInputService inputService)
 {
     _outputService = outputService;
     _taskService = taskService;
     _timeService = timeService;
     _projectService = projectService;
     _inputService = inputService;
 }
开发者ID:surgeforward,项目名称:nagger,代码行数:9,代码来源:JiraRunner.cs


示例18: TaskFacadeService

        public TaskFacadeService(ITaskService taskService, ITaskSyncService taskSyncService,
            ITaskRepository taskRepository,ITaskCategoryRepository taskCategoryRepository)
        {
            this.taskService = taskService;
            this.taskSyncService = taskSyncService;
            this.taskRepository = taskRepository;

            this.taskCategoryRepository = taskCategoryRepository;
        }
开发者ID:ehsmohammadi,项目名称:BTE.RMS,代码行数:9,代码来源:TaskFacadeService.cs


示例19: ManagerNotification

 public ManagerNotification(INotificationService notificationService, ITaskService taskService,
                            IEmailService emailService, IEmailSettingsService emailSettingsService, IBroadcaster broadcaster, IUnitOfWorkFactory unitOfWorkFactory)
 {
     _notificationService = notificationService;
     _taskService = taskService;
     _emailService = emailService;
     _emailSettingsService = emailSettingsService;
     _broadcaster = broadcaster;
     _unitOfWorkFactory = unitOfWorkFactory;
 }
开发者ID:altaricka,项目名称:vDesign,代码行数:10,代码来源:ManagerNotification.cs


示例20: TaskController

 public TaskController(
     ITaskService TaskService,
     IMemberService MemberService,
     IPermissionsService PermissionsService
     )
 {
     this.TaskService = TaskService;
     this.MemberService = MemberService;
     this.PermissionsService = PermissionsService;
 }
开发者ID:navy235,项目名称:PadCrm,代码行数:10,代码来源:TaskController.cs



注:本文中的ITaskService类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# ITaxCategoryService类代码示例发布时间:2022-05-24
下一篇:
C# ITaskRepository类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap