共用方式為


SyntaxGenerator.AsPublicInterfaceImplementation Method

Definition

Overloads

AsPublicInterfaceImplementation(SyntaxNode, SyntaxNode)

Converts method, property and indexer declarations into public interface implementations. This is equivalent to an implicit C# interface implementation (you can access it via the interface or directly via the named member.)

AsPublicInterfaceImplementation(SyntaxNode, SyntaxNode, String)

Converts method, property and indexer declarations into public interface implementations. This is equivalent to an implicit C# interface implementation (you can access it via the interface or directly via the named member.)

AsPublicInterfaceImplementation(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

Converts method, property and indexer declarations into public interface implementations. This is equivalent to an implicit C# interface implementation (you can access it via the interface or directly via the named member.)

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

Parameters

declaration
SyntaxNode
interfaceType
SyntaxNode

Returns

Applies to

AsPublicInterfaceImplementation(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

Converts method, property and indexer declarations into public interface implementations. This is equivalent to an implicit C# interface implementation (you can access it via the interface or directly via the named member.)

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

Parameters

declaration
SyntaxNode
interfaceType
SyntaxNode
interfaceMemberName
String

Returns

Applies to