Поделиться через


CSharpCodeWriter.BuildConstructor Метод

Определение

Перегрузки

BuildConstructor(String)
BuildConstructor(String, String)
BuildConstructor(String, String, IEnumerable<KeyValuePair<String,String>>)

BuildConstructor(String)

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

Параметры

name
String

Возвращаемое значение

Применяется к

BuildConstructor(String, String)

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

Параметры

accessibility
String
name
String

Возвращаемое значение

Применяется к

BuildConstructor(String, String, IEnumerable<KeyValuePair<String,String>>)

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

Параметры

accessibility
String
name
String

Возвращаемое значение

Применяется к