共用方式為


CSharpCodeWriter.BuildClassDeclaration 方法

定義

多載

BuildClassDeclaration(String, String)
BuildClassDeclaration(String, String, IEnumerable<String>)
BuildClassDeclaration(String, String, String)

BuildClassDeclaration(String, String)

public:
 Microsoft::AspNetCore::Razor::CodeGenerators::CSharpCodeWritingScope BuildClassDeclaration(System::String ^ accessibility, System::String ^ name);
public Microsoft.AspNetCore.Razor.CodeGenerators.CSharpCodeWritingScope BuildClassDeclaration (string accessibility, string name);
member this.BuildClassDeclaration : string * string -> Microsoft.AspNetCore.Razor.CodeGenerators.CSharpCodeWritingScope
Public Function BuildClassDeclaration (accessibility As String, name As String) As CSharpCodeWritingScope

參數

accessibility
String
name
String

傳回

適用於

BuildClassDeclaration(String, String, IEnumerable<String>)

public:
 Microsoft::AspNetCore::Razor::CodeGenerators::CSharpCodeWritingScope BuildClassDeclaration(System::String ^ accessibility, System::String ^ name, System::Collections::Generic::IEnumerable<System::String ^> ^ baseTypes);
public Microsoft.AspNetCore.Razor.CodeGenerators.CSharpCodeWritingScope BuildClassDeclaration (string accessibility, string name, System.Collections.Generic.IEnumerable<string> baseTypes);
member this.BuildClassDeclaration : string * string * seq<string> -> Microsoft.AspNetCore.Razor.CodeGenerators.CSharpCodeWritingScope
Public Function BuildClassDeclaration (accessibility As String, name As String, baseTypes As IEnumerable(Of String)) As CSharpCodeWritingScope

參數

accessibility
String
name
String
baseTypes
IEnumerable<String>

傳回

適用於

BuildClassDeclaration(String, String, String)

public:
 Microsoft::AspNetCore::Razor::CodeGenerators::CSharpCodeWritingScope BuildClassDeclaration(System::String ^ accessibility, System::String ^ name, System::String ^ baseType);
public Microsoft.AspNetCore.Razor.CodeGenerators.CSharpCodeWritingScope BuildClassDeclaration (string accessibility, string name, string baseType);
member this.BuildClassDeclaration : string * string * string -> Microsoft.AspNetCore.Razor.CodeGenerators.CSharpCodeWritingScope
Public Function BuildClassDeclaration (accessibility As String, name As String, baseType As String) As CSharpCodeWritingScope

參數

accessibility
String
name
String
baseType
String

傳回

適用於