예제 #1
0
 private void MakeChange(SyncSession session, IPropertySetter setter, PropertyMapping mapping, NameObjectCollection srcValues, SchemaObjectBase targetObj)
 {
     setter.SetValue(session, mapping, srcValues, targetObj);
 }
예제 #2
0
 private bool HasPropertyChange(SyncSession session, IPropertyComparer comparer, PropertyMapping mapping, NameObjectCollection srcValues, SchemaObjectBase targetObj)
 {
     return(comparer.AreEqual(session, mapping, srcValues, targetObj) == false);
 }
예제 #3
0
        public void SetValue(SyncSession session, PropertyMapping mapping, NameObjectCollection srcValues, SchemaObjectBase targetObj)
        {
            string srcValue = srcValues[mapping.SourceProperty] as string ?? string.Empty;

            targetObj.Properties[mapping.TargetProperty].StringValue = srcValue;
        }