C# Class Microsoft.DocAsCode.Build.ManagedReference.BuildOutputs.ApiBuildOutputUtility

Afficher le fichier Open project: dotnet/docfx Class Usage Examples

Méthodes publiques

Méthode Description
GetApiNames ( string key, ApiReferenceBuildOutput>.Dictionary references, string supportedLanguages ) : ApiNames
GetHref ( string url, string altText = null ) : string
GetReferenceViewModel ( string key, ApiReferenceBuildOutput>.Dictionary references, string supportedLanguages ) : ApiReferenceBuildOutput
GetReferenceViewModel ( string key, ApiReferenceBuildOutput>.Dictionary references, string supportedLanguages, int index ) : ApiReferenceBuildOutput
GetSpec ( string key, ApiReferenceBuildOutput>.Dictionary references, string supportedLanguages ) : List
GetXref ( string uid, string text = null, string alt = null ) : string
TransformToLanguagePairList ( string defaultValue, string>.SortedList values, string supportedLanguages ) : List

Method Details

GetApiNames() public static méthode

public static GetApiNames ( string key, ApiReferenceBuildOutput>.Dictionary references, string supportedLanguages ) : ApiNames
key string
references ApiReferenceBuildOutput>.Dictionary
supportedLanguages string
Résultat ApiNames

GetHref() public static méthode

public static GetHref ( string url, string altText = null ) : string
url string
altText string
Résultat string

GetReferenceViewModel() public static méthode

public static GetReferenceViewModel ( string key, ApiReferenceBuildOutput>.Dictionary references, string supportedLanguages ) : ApiReferenceBuildOutput
key string
references ApiReferenceBuildOutput>.Dictionary
supportedLanguages string
Résultat ApiReferenceBuildOutput

GetReferenceViewModel() public static méthode

public static GetReferenceViewModel ( string key, ApiReferenceBuildOutput>.Dictionary references, string supportedLanguages, int index ) : ApiReferenceBuildOutput
key string
references ApiReferenceBuildOutput>.Dictionary
supportedLanguages string
index int
Résultat ApiReferenceBuildOutput

GetSpec() public static méthode

public static GetSpec ( string key, ApiReferenceBuildOutput>.Dictionary references, string supportedLanguages ) : List
key string
references ApiReferenceBuildOutput>.Dictionary
supportedLanguages string
Résultat List

GetXref() public static méthode

public static GetXref ( string uid, string text = null, string alt = null ) : string
uid string
text string
alt string
Résultat string

TransformToLanguagePairList() public static méthode

public static TransformToLanguagePairList ( string defaultValue, string>.SortedList values, string supportedLanguages ) : List
defaultValue string
values string>.SortedList
supportedLanguages string
Résultat List