C# Class Postman.Helpers.FormValueRequiredAttribute

Inheritance: Microsoft.AspNetCore.Mvc.ActionConstraints.ActionMethodSelectorAttribute
Afficher le fichier Open project: aspnet-contrib/AspNet.Security.OpenIdConnect.Samples

Méthodes publiques

Méthode Description
FormValueRequiredAttribute ( string name ) : System
IsValidForRequest ( Microsoft.AspNetCore.Routing.RouteContext context, Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor action ) : bool

Method Details

FormValueRequiredAttribute() public méthode

public FormValueRequiredAttribute ( string name ) : System
name string
Résultat System

IsValidForRequest() public méthode

public IsValidForRequest ( Microsoft.AspNetCore.Routing.RouteContext context, Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor action ) : bool
context Microsoft.AspNetCore.Routing.RouteContext
action Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor
Résultat bool