/// <summary> /// Shows the contacts application and enables the user to save a contact, using the specified <see cref="SaveContactServiceParams"/> instance. /// </summary> /// <param name="saveContactServiceParams">The <see cref="SaveContactServiceParams"/> instance.</param> public void Show(SaveContactServiceParams saveContactServiceParams) { var saveContactTask = new SaveContactTask() { Title = saveContactServiceParams.Title, Suffix = saveContactServiceParams.Suffix, FirstName = saveContactServiceParams.FirstName, MiddleName = saveContactServiceParams.MiddleName, LastName = saveContactServiceParams.LastName, HomeAddressCity = saveContactServiceParams.HomeAddressCity, HomeAddressCountry = saveContactServiceParams.HomeAddressCountry, HomeAddressState = saveContactServiceParams.HomeAddressState, HomeAddressStreet = saveContactServiceParams.HomeAddressState, HomeAddressZipCode = saveContactServiceParams.HomeAddressZipCode, HomePhone = saveContactServiceParams.HomePhone, WorkAddressCity = saveContactServiceParams.WorkAddressCity, WorkAddressCountry = saveContactServiceParams.WorkAddressCountry, WorkAddressState = saveContactServiceParams.WorkAddressState, WorkAddressStreet = saveContactServiceParams.WorkAddressStreet, WorkAddressZipCode = saveContactServiceParams.WorkAddressZipCode, WorkEmail = saveContactServiceParams.WorkEmail, WorkPhone = saveContactServiceParams.WorkPhone, Company = saveContactServiceParams.Company, JobTitle = saveContactServiceParams.JobTitle, MobilePhone = saveContactServiceParams.MobilePhone, Nickname = saveContactServiceParams.Nickname, Notes = saveContactServiceParams.Notes, PersonalEmail = saveContactServiceParams.PersonalEmail, OtherEmail = saveContactServiceParams.OtherEmail, Website = saveContactServiceParams.Website }; saveContactTask.Show(); }