public Delta(Dictionary <string, object> passedChangedJsonPropertyValuePaires) { _jsonPropertyMapper = EngineContext.Current.Resolve <IJsonPropertyMapper>(); _changedJsonPropertyNames = passedChangedJsonPropertyValuePaires; _mappingHelper.SetValues(PropertyValuePairs, Dto, typeof(TDto), ObjectPropertyNameValuePairs, true); }
public Delta(IJsonPropertyMapper jsonPropertyMapper, Dictionary <string, object> changedJsonPropertyNames) { _jsonPropertyMapper = jsonPropertyMapper; _changedJsonPropertyNames = changedJsonPropertyNames; _mappingHelper.SetValues(PropertyValuePairs, Dto, typeof(TDto), ObjectPropertyNameValuePairs, true); }