Skip to main content

CSharpFactory.InterfaceDeclaration Method

Containing Type: CSharpFactory

Assembly: Roslynator.CSharp.dll

Overloads

MethodSummary
InterfaceDeclaration(SyntaxTokenList, String, SyntaxList<MemberDeclarationSyntax>)
InterfaceDeclaration(SyntaxTokenList, SyntaxToken, SyntaxList<MemberDeclarationSyntax>)

InterfaceDeclaration(SyntaxTokenList, String, SyntaxList<MemberDeclarationSyntax>)

public static Microsoft.CodeAnalysis.CSharp.Syntax.InterfaceDeclarationSyntax InterfaceDeclaration(Microsoft.CodeAnalysis.SyntaxTokenList modifiers, string identifier, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.MemberDeclarationSyntax> members = default)

Parameters

modifiers SyntaxTokenList

identifier String

members SyntaxList<MemberDeclarationSyntax>

Returns

InterfaceDeclarationSyntax

InterfaceDeclaration(SyntaxTokenList, SyntaxToken, SyntaxList<MemberDeclarationSyntax>)

public static Microsoft.CodeAnalysis.CSharp.Syntax.InterfaceDeclarationSyntax InterfaceDeclaration(Microsoft.CodeAnalysis.SyntaxTokenList modifiers, Microsoft.CodeAnalysis.SyntaxToken identifier, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.MemberDeclarationSyntax> members = default)

Parameters

modifiers SyntaxTokenList

identifier SyntaxToken

members SyntaxList<MemberDeclarationSyntax>

Returns

InterfaceDeclarationSyntax