Megosztás a következőn keresztül:


CSharpCodeWriter.BuildMethodDeclaration Method

Definition

Overloads

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

Parameters

accessibility
String
returnType
String
name
String

Returns

Applies to

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

Parameters

accessibility
String
returnType
String
name
String

Returns

Applies to