Rename GetDataFormatString to GetDataFormatStringOrNull.

pull/9849/head
maliming 4 years ago
parent bd4f26aa64
commit 747dca6900

@ -37,7 +37,7 @@ namespace Volo.Abp.ObjectExtending
public static string GetInputFormatOrNull(this IBasicObjectExtensionPropertyInfo property) public static string GetInputFormatOrNull(this IBasicObjectExtensionPropertyInfo property)
{ {
var formatString = property.GetDataFormatString(); var formatString = property.GetDataFormatStringOrNull();
if (!formatString.IsNullOrWhiteSpace()) if (!formatString.IsNullOrWhiteSpace())
{ {

@ -34,7 +34,7 @@ namespace Volo.Abp.ObjectExtending
.FirstOrDefault()?.DataType; .FirstOrDefault()?.DataType;
} }
public static string GetDataFormatString(this IBasicObjectExtensionPropertyInfo property) public static string GetDataFormatStringOrNull(this IBasicObjectExtensionPropertyInfo property)
{ {
return property return property
.Attributes .Attributes

Loading…
Cancel
Save