Web API Core | ComponentOne
C1.Web.Api Namespace / StringModelBinder Class
Members

In This Topic
    StringModelBinder Class
    In This Topic
    Model binder for return raw string value.
    Syntax
    'Declaration
     
    
    Public Class StringModelBinder 
       Implements Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder 
    public class StringModelBinder : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder  
    Remarks
    For the default model binder, the empty string will be converted to null. This model binder will keep the raw string value, including empty string.
    Inheritance Hierarchy

    System.Object
       C1.Web.Api.StringModelBinder

    See Also