DefaultApiConventions.Create(Object) 方法

定义

创建约定。

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)

参数

model
Object
属性

适用于