Browse Source

Rename GetDataFormatString to GetDataFormatStringOrNull.

pull/9849/head
maliming 5 years ago
parent
commit
747dca6900
  1. 2
      framework/src/Volo.Abp.AspNetCore.Mvc.UI/Volo/Abp/ObjectExtending/MvcUiObjectExtensionPropertyInfoExtensions.cs
  2. 2
      framework/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/ObjectExtending/ObjectExtensionPropertyInfoAspNetCoreMvcExtensions.cs

2
framework/src/Volo.Abp.AspNetCore.Mvc.UI/Volo/Abp/ObjectExtending/MvcUiObjectExtensionPropertyInfoExtensions.cs

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

2
framework/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/ObjectExtending/ObjectExtensionPropertyInfoAspNetCoreMvcExtensions.cs

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

Loading…
Cancel
Save