Exemplo n.º 1
0
 private ISpannable generateProjectTaskClientFormattedString(EditTimeEntryViewModel.ProjectClientTaskInfo projectClientTask)
 => TimeEntryExtensions.ToProjectTaskClient(
     projectClientTask.HasProject,
     projectClientTask.Project,
     projectClientTask.ProjectColor,
     projectClientTask.Task,
     projectClientTask.Client);
Exemplo n.º 2
0
 private void onProjectTaskOrClientChanged(bool hasProject)
 {
     projectTaskClientTextView.TextFormatted =
         TimeEntryExtensions.ToProjectTaskClient(
             hasProject,
             ViewModel.Project,
             ViewModel.ProjectColor,
             ViewModel.Task,
             ViewModel.Client);
 }