C# Класс Microsoft.DocAsCode.Build.ManagedReference.BuildOutputs.ApiBuildOutputUtility

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

GetApiNames() публичный статический Метод

public static GetApiNames ( string key, ApiReferenceBuildOutput>.Dictionary references, string supportedLanguages ) : ApiNames
key string
references ApiReferenceBuildOutput>.Dictionary
supportedLanguages string
Результат ApiNames

GetHref() публичный статический Метод

public static GetHref ( string url, string altText = null ) : string
url string
altText string
Результат string

GetReferenceViewModel() публичный статический Метод

public static GetReferenceViewModel ( string key, ApiReferenceBuildOutput>.Dictionary references, string supportedLanguages ) : ApiReferenceBuildOutput
key string
references ApiReferenceBuildOutput>.Dictionary
supportedLanguages string
Результат ApiReferenceBuildOutput

GetReferenceViewModel() публичный статический Метод

public static GetReferenceViewModel ( string key, ApiReferenceBuildOutput>.Dictionary references, string supportedLanguages, int index ) : ApiReferenceBuildOutput
key string
references ApiReferenceBuildOutput>.Dictionary
supportedLanguages string
index int
Результат ApiReferenceBuildOutput

GetSpec() публичный статический Метод

public static GetSpec ( string key, ApiReferenceBuildOutput>.Dictionary references, string supportedLanguages ) : List
key string
references ApiReferenceBuildOutput>.Dictionary
supportedLanguages string
Результат List

GetXref() публичный статический Метод

public static GetXref ( string uid, string text = null, string alt = null ) : string
uid string
text string
alt string
Результат string

TransformToLanguagePairList() публичный статический Метод

public static TransformToLanguagePairList ( string defaultValue, string>.SortedList values, string supportedLanguages ) : List
defaultValue string
values string>.SortedList
supportedLanguages string
Результат List