IOptionalBinderMetadata Interface

Summary

An type that designates an optional parameter for the purposes of WebAPI action overloading. Optional parameters do not participate in overloading, and do not have to have a value for the action to be selected.

This has no impact when used without WebAPI action overloading.

Syntax

public interface IOptionalBinderMetadata

GitHub

View on GitHub

interface Microsoft.AspNet.Mvc.ModelBinding.IOptionalBinderMetadata

Properties

IsOptional()
Return type:System.Boolean
bool IsOptional { get; }