CSharpFactory.Parameter Method
Containing Type: CSharpFactory
Assembly: Roslynator.CSharp.dll
Overloads
Method | Summary |
---|---|
Parameter(TypeSyntax, String, ExpressionSyntax) | |
Parameter(TypeSyntax, SyntaxToken, EqualsValueClauseSyntax) | |
Parameter(TypeSyntax, SyntaxToken, ExpressionSyntax) |
Parameter(TypeSyntax, String, ExpressionSyntax)
public static Microsoft.CodeAnalysis.CSharp.Syntax.ParameterSyntax Parameter(Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax type, string identifier, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax? @default = null)
Parameters
type TypeSyntax
identifier String
default ExpressionSyntax
Returns
Parameter(TypeSyntax, SyntaxToken, EqualsValueClauseSyntax)
public static Microsoft.CodeAnalysis.CSharp.Syntax.ParameterSyntax Parameter(Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax type, Microsoft.CodeAnalysis.SyntaxToken identifier, Microsoft.CodeAnalysis.CSharp.Syntax.EqualsValueClauseSyntax @default)
Parameters
type TypeSyntax
identifier SyntaxToken
default EqualsValueClauseSyntax
Returns
Parameter(TypeSyntax, SyntaxToken, ExpressionSyntax)
public static Microsoft.CodeAnalysis.CSharp.Syntax.ParameterSyntax Parameter(Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax type, Microsoft.CodeAnalysis.SyntaxToken identifier, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax? @default = null)
Parameters
type TypeSyntax
identifier SyntaxToken
default ExpressionSyntax