Skip to content

Instantly share code, notes, and snippets.

@Shedal
Created November 11, 2017 20:02
Show Gist options
  • Select an option

  • Save Shedal/9a0f02758d7264518c67852a7a5c6b38 to your computer and use it in GitHub Desktop.

Select an option

Save Shedal/9a0f02758d7264518c67852a7a5c6b38 to your computer and use it in GitHub Desktop.
string identifier = "some.contact@identifier.com";
var updateMethod = (contact) =>
{
IContactPersonalInfo personal =
contact.GetFacet<IContactPersonalInfo>("Personal");
personal.FirstName = "John";
personal.Surname = "Doe";
};
UpdateContact(identifier, updateMethod);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment