コード例 #1
0
        protected async System.Threading.Tasks.Task Load()
        {
            var crmGetTaskByIdResult = await Crm.GetTaskById(id : Id);

            task = crmGetTaskByIdResult;

            var crmGetOpportunitiesResult = await Crm.GetOpportunities();

            getOpportunitiesResult = crmGetOpportunitiesResult.Value.AsODataEnumerable();

            var crmGetTaskTypesResult = await Crm.GetTaskTypes();

            getTaskTypesResult = crmGetTaskTypesResult.Value.AsODataEnumerable();

            var crmGetTaskStatusesResult = await Crm.GetTaskStatuses();

            getTaskStatusesResult = crmGetTaskStatusesResult.Value.AsODataEnumerable();
        }
コード例 #2
0
        protected async System.Threading.Tasks.Task Load()
        {
            canEdit = true;

            var crmGetTaskByIdResult = await Crm.GetTaskById(Id);

            task = crmGetTaskByIdResult;

            var crmGetOpportunitiesResult = await Crm.GetOpportunities();

            getOpportunitiesResult = crmGetOpportunitiesResult;

            var crmGetTaskTypesResult = await Crm.GetTaskTypes();

            getTaskTypesResult = crmGetTaskTypesResult;

            var crmGetTaskStatusesResult = await Crm.GetTaskStatuses();

            getTaskStatusesResult = crmGetTaskStatusesResult;
        }
コード例 #3
0
        protected async void Load()
        {
            canEdit = true;

            var crmGetTaskByIdResult = await Crm.GetTaskById(int.Parse($"{Id}"));

            task = crmGetTaskByIdResult;

            var crmGetOpportunitiesResult = await Crm.GetOpportunities();

            getOpportunitiesResult = crmGetOpportunitiesResult;

            var crmGetTaskTypesResult = await Crm.GetTaskTypes();

            getTaskTypesResult = crmGetTaskTypesResult;

            var crmGetTaskStatusesResult = await Crm.GetTaskStatuses();

            getTaskStatusesResult = crmGetTaskStatusesResult;
        }