C# Class ICSharpCode.NRefactory6.CSharp.Features.ImplementInterface.AbstractImplementInterfaceService.ImplementInterfaceCodeAction

Inheritance: Microsoft.CodeAnalysis.CodeActions.CodeAction
ファイルを表示 Open project: powerumc/monodevelop_korean

Protected Properties

Property Type Description
Abstractly bool
Document Microsoft.CodeAnalysis.Document
Explicitly bool
Service ICSharpCode.NRefactory6.CSharp.Features.ImplementInterface.AbstractImplementInterfaceService
State State
ThroughMember ISymbol

Private Properties

Property Type Description
ComputeEquivalenceKey string
CreateThroughExpression Microsoft.CodeAnalysis.SyntaxNode
DetermineMemberName string
GenerateInvisibleMember bool
GenerateMember ISymbol
GenerateMember ISymbol
GenerateMembers IList
GetCodeActionEquivalenceKey string
GetDescription string
HasMatchingMember bool
HasNameConflict bool
HasNameConflict bool
HasUnexpressableConstraint bool
IdentifiersMatch bool
ImplementInterfaceCodeAction System
IsReservedName bool
IsUnexpressableTypeParameter bool
MembersMatch bool

Public Methods

Method Description
CreateImplementAbstractlyCodeAction ( ICSharpCode.NRefactory6.CSharp.Features.ImplementInterface.AbstractImplementInterfaceService service, Microsoft.CodeAnalysis.Document document, State state ) : ImplementInterfaceCodeAction
CreateImplementCodeAction ( ICSharpCode.NRefactory6.CSharp.Features.ImplementInterface.AbstractImplementInterfaceService service, Microsoft.CodeAnalysis.Document document, State state ) : ImplementInterfaceCodeAction
CreateImplementExplicitlyCodeAction ( ICSharpCode.NRefactory6.CSharp.Features.ImplementInterface.AbstractImplementInterfaceService service, Microsoft.CodeAnalysis.Document document, State state ) : ImplementInterfaceCodeAction
CreateImplementThroughMemberCodeAction ( ICSharpCode.NRefactory6.CSharp.Features.ImplementInterface.AbstractImplementInterfaceService service, Microsoft.CodeAnalysis.Document document, State state, ISymbol throughMember ) : ImplementInterfaceCodeAction
GetUpdatedDocumentAsync ( CancellationToken cancellationToken ) : Task
GetUpdatedDocumentAsync ( Microsoft.CodeAnalysis.Document document, IList unimplementedMembers, INamedTypeSymbol classOrStructType, Microsoft.CodeAnalysis.SyntaxNode classOrStructDecl, CancellationToken cancellationToken ) : Task

Protected Methods

Method Description
GetChangedDocumentAsync ( CancellationToken cancellationToken ) : Task

Private Methods

Method Description
ComputeEquivalenceKey ( State state, bool explicitly, bool abstractly, ISymbol throughMember, string codeActionTypeName ) : string
CreateThroughExpression ( Microsoft.CodeAnalysis.CodeGeneration.SyntaxGenerator factory ) : Microsoft.CodeAnalysis.SyntaxNode
DetermineMemberName ( ISymbol member, List implementedVisibleMembers ) : string
GenerateInvisibleMember ( ISymbol member, string memberName ) : bool
GenerateMember ( Compilation compilation, ISymbol member, List implementedVisibleMembers, CancellationToken cancellationToken ) : ISymbol
GenerateMember ( Compilation compilation, ISymbol member, string memberName, bool generateInvisibly, bool generateAbstractly, bool addNew, bool addUnsafe, CancellationToken cancellationToken ) : ISymbol
GenerateMembers ( Compilation compilation, IList unimplementedMembers, CancellationToken cancellationToken ) : IList
GetCodeActionEquivalenceKey ( string interfaceTypeAssemblyName, string interfaceTypeFullyQualifiedName, bool explicitly, bool abstractly, ISymbol throughMember, string codeActionTypeName ) : string
GetDescription ( ISymbol throughMember ) : string
HasMatchingMember ( List implementedVisibleMembers, ISymbol member ) : bool
HasNameConflict ( ISymbol member, string memberName, IEnumerable baseTypes ) : bool
HasNameConflict ( ISymbol member, string memberName, ISymbol baseMember ) : bool
HasUnexpressableConstraint ( ISymbol member ) : bool
IdentifiersMatch ( string identifier1, string identifier2 ) : bool
ImplementInterfaceCodeAction ( ICSharpCode.NRefactory6.CSharp.Features.ImplementInterface.AbstractImplementInterfaceService service, Microsoft.CodeAnalysis.Document document, State state, bool explicitly, bool abstractly, ISymbol throughMember ) : System
IsReservedName ( string name ) : bool
IsUnexpressableTypeParameter ( ITypeParameterSymbol typeParameter ) : bool
MembersMatch ( ISymbol member1, ISymbol member2 ) : bool

Method Details

CreateImplementAbstractlyCodeAction() public static method

public static CreateImplementAbstractlyCodeAction ( ICSharpCode.NRefactory6.CSharp.Features.ImplementInterface.AbstractImplementInterfaceService service, Microsoft.CodeAnalysis.Document document, State state ) : ImplementInterfaceCodeAction
service ICSharpCode.NRefactory6.CSharp.Features.ImplementInterface.AbstractImplementInterfaceService
document Microsoft.CodeAnalysis.Document
state State
return ImplementInterfaceCodeAction

CreateImplementCodeAction() public static method

public static CreateImplementCodeAction ( ICSharpCode.NRefactory6.CSharp.Features.ImplementInterface.AbstractImplementInterfaceService service, Microsoft.CodeAnalysis.Document document, State state ) : ImplementInterfaceCodeAction
service ICSharpCode.NRefactory6.CSharp.Features.ImplementInterface.AbstractImplementInterfaceService
document Microsoft.CodeAnalysis.Document
state State
return ImplementInterfaceCodeAction

CreateImplementExplicitlyCodeAction() public static method

public static CreateImplementExplicitlyCodeAction ( ICSharpCode.NRefactory6.CSharp.Features.ImplementInterface.AbstractImplementInterfaceService service, Microsoft.CodeAnalysis.Document document, State state ) : ImplementInterfaceCodeAction
service ICSharpCode.NRefactory6.CSharp.Features.ImplementInterface.AbstractImplementInterfaceService
document Microsoft.CodeAnalysis.Document
state State
return ImplementInterfaceCodeAction

CreateImplementThroughMemberCodeAction() public static method

public static CreateImplementThroughMemberCodeAction ( ICSharpCode.NRefactory6.CSharp.Features.ImplementInterface.AbstractImplementInterfaceService service, Microsoft.CodeAnalysis.Document document, State state, ISymbol throughMember ) : ImplementInterfaceCodeAction
service ICSharpCode.NRefactory6.CSharp.Features.ImplementInterface.AbstractImplementInterfaceService
document Microsoft.CodeAnalysis.Document
state State
throughMember ISymbol
return ImplementInterfaceCodeAction

GetChangedDocumentAsync() protected method

protected GetChangedDocumentAsync ( CancellationToken cancellationToken ) : Task
cancellationToken System.Threading.CancellationToken
return Task

GetUpdatedDocumentAsync() public method

public GetUpdatedDocumentAsync ( CancellationToken cancellationToken ) : Task
cancellationToken System.Threading.CancellationToken
return Task

GetUpdatedDocumentAsync() public method

public GetUpdatedDocumentAsync ( Microsoft.CodeAnalysis.Document document, IList unimplementedMembers, INamedTypeSymbol classOrStructType, Microsoft.CodeAnalysis.SyntaxNode classOrStructDecl, CancellationToken cancellationToken ) : Task
document Microsoft.CodeAnalysis.Document
unimplementedMembers IList
classOrStructType INamedTypeSymbol
classOrStructDecl Microsoft.CodeAnalysis.SyntaxNode
cancellationToken System.Threading.CancellationToken
return Task

Property Details

Abstractly protected_oe property

protected bool Abstractly
return bool

Document protected_oe property

protected Document,Microsoft.CodeAnalysis Document
return Microsoft.CodeAnalysis.Document

Explicitly protected_oe property

protected bool Explicitly
return bool

Service protected_oe property

protected AbstractImplementInterfaceService,ICSharpCode.NRefactory6.CSharp.Features.ImplementInterface Service
return ICSharpCode.NRefactory6.CSharp.Features.ImplementInterface.AbstractImplementInterfaceService

State protected_oe property

protected State State
return State

ThroughMember protected_oe property

protected ISymbol ThroughMember
return ISymbol