Skip to content

Instantly share code, notes, and snippets.

@islaytitans

islaytitans/Process.cs Secret

Last active Jan 20, 2016
Embed
What would you like to do?
Expanded process method of MergeContactFacets.cs
// Check if the name of the Facet is the name of our custom Facet
if (name.Equals(KeyInteractionsFacet.FacetName,
StringComparison.InvariantCultureIgnoreCase) && destination != null && !source.IsEmpty)
{
DeepCopyFacet(source, destination);
}
else if (destination != null && destination.IsEmpty && !source.IsEmpty)
{
ModelUtilities.DeepCopyFacet(source, destination);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment