[assembly: PreApplicationStartMethod(typeof(Mvc.Bootstrap.Datatables.Example.App_Start.RegisterDatatablesModelBinder), "Start")]
namespace Mvc.Bootstrap.Datatables.Example.App_Start
{
public static class RegisterDatatablesModelBinder {
public static void Start() {
ModelBinders.Binders.Add(typeof(DataTablesParam), new NullableDataTablesModelBinder());
}
}
}
I found this in one of GitHub project can anyone tell me what this line does
[assembly: PreApplicationStartMethod(typeof(Mvc.Bootstrap.Datatables.Example.App_Start.RegisterDatatablesModelBinder), "Start")]