private Google.Apis.Tasks.v1.Data.TaskList toGoogleTaskList() { Google.Apis.Tasks.v1.Data.TaskList updatedList = new Google.Apis.Tasks.v1.Data.TaskList(); updatedList.Title = Title; updatedList.Id = Id; return(updatedList); }
internal GoogleTaskList(GoogleTaskProvider provider, GTaskList googleList, IEnumerable<GoogleTask> tasks) : base(provider) { //provider.VerifyNotNull("provider"); //googleList.VerifyNotNull("googleList"); //tasks.VerifyNotNull("tasks"); Internal = googleList; _tasks = tasks; }
public static ModelTaskList ToModelTaskList(GoogleTaskList taskList) { return new ModelTaskList(taskList.Title, taskList.Id); }