CommandLineGeneratorModel.IsRestController Özellik

Tanım

public:
 property bool IsRestController { bool get(); void set(bool value); };
[Microsoft.VisualStudio.Web.CodeGeneration.CommandLine.Option(Description="Specify this switch to generate a Controller with REST style API, noViews is assumed and any view related options are ignored", Name="restWithNoViews", ShortName="api")]
public bool IsRestController { get; set; }
[<Microsoft.VisualStudio.Web.CodeGeneration.CommandLine.Option(Description="Specify this switch to generate a Controller with REST style API, noViews is assumed and any view related options are ignored", Name="restWithNoViews", ShortName="api")>]
member this.IsRestController : bool with get, set
Public Property IsRestController As Boolean

Özellik Değeri

Öznitelikler

Şunlara uygulanır