C# Class Microsoft.DocAsCode.Metadata.ManagedReference.SpecIdHelper

Mostrar archivo Open project: dotnet/docfx Class Usage Examples

Public Methods

Method Description
GetSpecId ( ISymbol symbol, IReadOnlyList typeGenericParameters, IReadOnlyList methodGenericParameters = null ) : string

Private Methods

Method Description
SpecExtensionMethodReceiverType ( IMethodSymbol symbol, string id ) : string

spec extension method's receiver type. for below overload: M(this A), M(this A, A), AddReference applies to the first method and AddSpecReference applies to the second method might get same id without prepending receiver type.

SpecMethodGenericParameter ( IMethodSymbol symbol, string id ) : string
SpecMethodGenericParameter ( IReadOnlyList names, string id ) : string
SpecTypeGenericParameter ( IReadOnlyList names, string id ) : string

Method Details

GetSpecId() public static method

public static GetSpecId ( ISymbol symbol, IReadOnlyList typeGenericParameters, IReadOnlyList methodGenericParameters = null ) : string
symbol ISymbol
typeGenericParameters IReadOnlyList
methodGenericParameters IReadOnlyList
return string