private static string ClonePropertySnippet(PropertyComputedFromInfo info)
 {
     return(string.Format(
                "{0} = sourceItem.{1},\r\n                ",
                GetPropertyName(info.Target), GetPropertyName(info.Source)));
 }
 private static string AssignPropertySnippet(PropertyComputedFromInfo info)
 {
     return(string.Format(
                "destination.{0} = source.{0};\r\n                    ",
                GetPropertyName(info.Target)));
 }
 private static string CompareValuePropertySnippet(PropertyComputedFromInfo info)
 {
     return(string.Format(
                "if (x.{0} == null && y.{0} != null || x.{0} != null && !x.{0}.Equals(y.{0})) return false;\r\n                    ",
                GetPropertyName(info.Target)));
 }