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