Browse Source

remove unused code

pull/7686/head
Ilkay Ilknur 6 years ago
parent
commit
d4c5640450
  1. 35
      framework/src/Volo.Abp.BlazoriseUI/BlazoriseUiObjectExtensionPropertyInfoExtensions.cs

35
framework/src/Volo.Abp.BlazoriseUI/BlazoriseUiObjectExtensionPropertyInfoExtensions.cs

@ -84,36 +84,6 @@ namespace Volo.Abp.BlazoriseUI
return (T)value;
}
public static bool GetBooleanInputValueOrDefault(this IBasicObjectExtensionPropertyInfo property, object value)
{
if (value == null)
{
return false;
}
return (bool)value;
}
public static DateTime? GetDateInputValueOrDefault(this IBasicObjectExtensionPropertyInfo property, object value)
{
if (value == null)
{
return default;
}
return (DateTime?)value;
}
public static TimeSpan? GetTimeInputValueOrDefault(this IBasicObjectExtensionPropertyInfo property, object value)
{
if (value == null)
{
return default;
}
return (TimeSpan?)value;
}
public static TextInputMode GetTextInputMode(this ObjectExtensionPropertyInfo propertyInfo)
{
foreach (var attribute in propertyInfo.Attributes)
@ -213,11 +183,6 @@ namespace Volo.Abp.BlazoriseUI
// return "hidden";
//}
//if (attribute is PhoneAttribute)
//{
// return TextRole.Tel;
//}
if (attribute is DataTypeAttribute dataTypeAttribute)
{
switch (dataTypeAttribute.DataType)

Loading…
Cancel
Save