Browse Source

Update AbpExtraPropertiesDictionaryModelBinderProvider.cs

pull/6498/head
maliming 6 years ago
committed by GitHub
parent
commit
61be1bd520
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      framework/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/AspNetCore/Mvc/ModelBinding/AbpExtraPropertiesDictionaryModelBinderProvider.cs

3
framework/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/AspNetCore/Mvc/ModelBinding/AbpExtraPropertiesDictionaryModelBinderProvider.cs

@ -23,7 +23,8 @@ namespace Volo.Abp.AspNetCore.Mvc.ModelBinding
return null;
}
if (context.Metadata.ContainerType == null || !context.Metadata.ContainerType.IsAssignableTo<IHasExtraProperties>())
if (context.Metadata.ContainerType == null ||
!context.Metadata.ContainerType.IsAssignableTo<IHasExtraProperties>())
{
return null;
}

Loading…
Cancel
Save