Delen via


SyntaxGenerator.AsPrivateInterfaceImplementation Method

Definition

Overloads

AsPrivateInterfaceImplementation(SyntaxNode, SyntaxNode)

Converts method, property and indexer declarations into private interface implementations. This is equivalent to a C# explicit interface implementation (you can declare it for access via the interface, but cannot call it directly).

AsPrivateInterfaceImplementation(SyntaxNode, SyntaxNode, String)

Converts method, property and indexer declarations into private interface implementations. This is equivalent to a C# explicit interface implementation (you can declare it for access via the interface, but cannot call it directly).

AsPrivateInterfaceImplementation(SyntaxNode, SyntaxNode)

Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs

Converts method, property and indexer declarations into private interface implementations. This is equivalent to a C# explicit interface implementation (you can declare it for access via the interface, but cannot call it directly).

public:
 Microsoft::CodeAnalysis::SyntaxNode ^ AsPrivateInterfaceImplementation(Microsoft::CodeAnalysis::SyntaxNode ^ declaration, Microsoft::CodeAnalysis::SyntaxNode ^ interfaceType);
public Microsoft.CodeAnalysis.SyntaxNode AsPrivateInterfaceImplementation (Microsoft.CodeAnalysis.SyntaxNode declaration, Microsoft.CodeAnalysis.SyntaxNode interfaceType);
public Microsoft.CodeAnalysis.SyntaxNode? AsPrivateInterfaceImplementation (Microsoft.CodeAnalysis.SyntaxNode declaration, Microsoft.CodeAnalysis.SyntaxNode interfaceType);
member this.AsPrivateInterfaceImplementation : Microsoft.CodeAnalysis.SyntaxNode * Microsoft.CodeAnalysis.SyntaxNode -> Microsoft.CodeAnalysis.SyntaxNode
Public Function AsPrivateInterfaceImplementation (declaration As SyntaxNode, interfaceType As SyntaxNode) As SyntaxNode

Parameters

declaration
SyntaxNode
interfaceType
SyntaxNode

Returns

Applies to

AsPrivateInterfaceImplementation(SyntaxNode, SyntaxNode, String)

Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs

Converts method, property and indexer declarations into private interface implementations. This is equivalent to a C# explicit interface implementation (you can declare it for access via the interface, but cannot call it directly).

public:
 abstract Microsoft::CodeAnalysis::SyntaxNode ^ AsPrivateInterfaceImplementation(Microsoft::CodeAnalysis::SyntaxNode ^ declaration, Microsoft::CodeAnalysis::SyntaxNode ^ interfaceType, System::String ^ interfaceMemberName);
public abstract Microsoft.CodeAnalysis.SyntaxNode AsPrivateInterfaceImplementation (Microsoft.CodeAnalysis.SyntaxNode declaration, Microsoft.CodeAnalysis.SyntaxNode interfaceType, string interfaceMemberName);
public abstract Microsoft.CodeAnalysis.SyntaxNode? AsPrivateInterfaceImplementation (Microsoft.CodeAnalysis.SyntaxNode declaration, Microsoft.CodeAnalysis.SyntaxNode interfaceType, string? interfaceMemberName);
abstract member AsPrivateInterfaceImplementation : Microsoft.CodeAnalysis.SyntaxNode * Microsoft.CodeAnalysis.SyntaxNode * string -> Microsoft.CodeAnalysis.SyntaxNode
Public MustOverride Function AsPrivateInterfaceImplementation (declaration As SyntaxNode, interfaceType As SyntaxNode, interfaceMemberName As String) As SyntaxNode

Parameters

declaration
SyntaxNode
interfaceType
SyntaxNode
interfaceMemberName
String

Returns

Applies to