다음을 통해 공유


CSharpCodeWriter.BuildMethodDeclaration 메서드

정의

오버로드

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

BuildMethodDeclaration(String, String, String)

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

매개 변수

accessibility
String
returnType
String
name
String

반환

적용 대상

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

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

매개 변수

accessibility
String
returnType
String
name
String

반환

적용 대상