CommandLineGeneratorModel.IsRestController 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
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
屬性值
- 屬性