8#if NETSTANDARD2_0 || NET5_0_OR_GREATER || NETCOREAPP3_1
9using Microsoft.AspNetCore.Mvc.ModelBinding;
17 public class CslaModelBinderProvider : IModelBinderProvider
23 public CslaModelBinderProvider()
30 public IModelBinder GetBinder(ModelBinderProviderContext context)
32 if (typeof(Core.IEditableCollection).IsAssignableFrom(context.Metadata.ModelType) ||
33 typeof(IBusinessBase).IsAssignableFrom(context.Metadata.ModelType))
34 return new CslaModelBinder();