本文整理汇总了C#中IDocumentationProvider类的典型用法代码示例。如果您正苦于以下问题:C# IDocumentationProvider类的具体用法?C# IDocumentationProvider怎么用?C# IDocumentationProvider使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
IDocumentationProvider类属于命名空间,在下文中一共展示了IDocumentationProvider类的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: SetDocumentationProvider
/// <summary>
/// Sets the documentation provider for help page.
/// </summary>
/// <param name="config">The <see cref="HttpConfiguration"/>.</param>
/// <param name="documentationProvider">The documentation provider.</param>
public static void SetDocumentationProvider(this HttpConfiguration config, IDocumentationProvider documentationProvider)
{
config.Services.Replace(typeof(IDocumentationProvider), documentationProvider);
}
示例2: CecilProjectContent
public CecilProjectContent(TypeStorage types, string assemblyName, IList<IAttribute> assemblyAttributes, IDocumentationProvider documentationProvider)
: base(types)
{
Debug.Assert(assemblyName != null);
Debug.Assert(assemblyAttributes != null);
this.assemblyName = assemblyName;
this.assemblyAttributes = assemblyAttributes;
this.documentationProvider = documentationProvider;
}
示例3: IkvmUnresolvedAssembly
public IkvmUnresolvedAssembly(string fullAssemblyName, IDocumentationProvider documentationProvider)
: base(fullAssemblyName)
{
this.documentationProvider = documentationProvider;
}
示例4: InitializeProvider
private void InitializeProvider(IDocumentationProvider provider)
{
HttpConfiguration configuration = new HttpConfiguration();
configuration.Services.Replace(typeof(IDocumentationProvider), provider);
generator = new ModelDescriptionGenerator(configuration);
}