示例#1
0
 /// <summary>
 /// Throw an exception upon execution of this statement if any cached mappings have any target
 /// members which will not be mapped. Use calls to this method to validate a mapping plan, remove
 /// them in production code.
 /// </summary>
 public static void ThrowNowIfAnyMappingIsIncomplete() => Default.ThrowNowIfAnyMappingPlanIsIncomplete();
 /// <summary>
 /// Throw an exception upon execution of this statement if any cached mapping plans have any target members
 /// which will not be mapped, or map from a source enum to a target enum which does not support all of its
 /// values. Use calls to this method to validate a mapping plan; remove them in production code.
 /// </summary>
 protected void ThrowNowIfAnyMappingPlanIsIncomplete() => _mapper.ThrowNowIfAnyMappingPlanIsIncomplete();