Partager via


DefaultApiConventions.Create(Object) Méthode

Définition

Créez une convention.

public:
 static void Create(System::Object ^ model);
[Microsoft.AspNetCore.Mvc.ApiExplorer.ApiConventionNameMatch(Microsoft.AspNetCore.Mvc.ApiExplorer.ApiConventionNameMatchBehavior.Prefix)]
[Microsoft.AspNetCore.Mvc.ProducesDefaultResponseType]
[Microsoft.AspNetCore.Mvc.ProducesResponseType(201)]
[Microsoft.AspNetCore.Mvc.ProducesResponseType(400)]
public static void Create (object model);
[<Microsoft.AspNetCore.Mvc.ApiExplorer.ApiConventionNameMatch(Microsoft.AspNetCore.Mvc.ApiExplorer.ApiConventionNameMatchBehavior.Prefix)>]
[<Microsoft.AspNetCore.Mvc.ProducesDefaultResponseType>]
[<Microsoft.AspNetCore.Mvc.ProducesResponseType(201)>]
[<Microsoft.AspNetCore.Mvc.ProducesResponseType(400)>]
static member Create : obj -> unit
Public Shared Sub Create (model As Object)

Paramètres

model
Object
Attributs

S’applique à