public Result TryResolve(IResolutionContext context, IDescribeMappableProperty destinationProperty) { var destValue = context.GetDestinationPropertyValue(destinationProperty.Name); if (destinationProperty.PropertyType.IsDefaultOrEmpty(destValue) == false) return Result.Unresolved; return inner.TryResolve(context, destinationProperty); }
public Result TryResolve(IResolutionContext context, IDescribeMappableProperty destinationProperty) { var destValue = context.GetDestinationPropertyValue(destinationProperty.Name); if (destinationProperty.PropertyType.IsDefaultOrEmpty(destValue) == false) { return(Result.Unresolved); } return(inner.TryResolve(context, destinationProperty)); }