public IResolutionContext CreateNestedContext(IDescribeMappableProperty destinationProperty, IResolutionContext parentContext) { var dest = invoke.GetValue(destinationProperty.Name, parentContext.Destination) ?? activate.CreateInstance(destinationProperty.PropertyType); return(CreateContext(parentContext.Source, dest)); }
public object GetSourcePropertyValue(string propertyName) { return(invoke.GetValue(propertyName, Source)); }