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

Mostrar archivo Open project: dotnet/docfx Class Usage Examples

Public Methods

Method 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 method

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

GetHref() public static method

public static GetHref ( string url, string altText = null ) : string
url string
altText string
return string

GetReferenceViewModel() public static method

public static GetReferenceViewModel ( string key, ApiReferenceBuildOutput>.Dictionary references, string supportedLanguages ) : ApiReferenceBuildOutput
key string
references ApiReferenceBuildOutput>.Dictionary
supportedLanguages string
return ApiReferenceBuildOutput

GetReferenceViewModel() public static method

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

GetSpec() public static method

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

GetXref() public static method

public static GetXref ( string uid, string text = null, string alt = null ) : string
uid string
text string
alt string
return string

TransformToLanguagePairList() public static method

public static TransformToLanguagePairList ( string defaultValue, string>.SortedList values, string supportedLanguages ) : List
defaultValue string
values string>.SortedList
supportedLanguages string
return List