PublicApi Class
public static class PublicApiNo documentation is available.
Methods
| Name | Description |
|---|---|
| Aggregate(IReadOnlyList<PublicApiAssembly>) | Aggregates the builds of an assembly for several target frameworks, to find the symbols that are specific to some of them and the declarations that differ. |
| Generate(IReadOnlyList<AssemblySource>, PublicApiOptions?) | |
| Generate(Assembly, PublicApiOptions?) | |
| Generate(string, PublicApiOptions?) | |
| GenerateToDirectory(IReadOnlyList<AssemblySource>, string, PublicApiOptions?) | |
| GenerateToDirectory(Assembly, string, PublicApiOptions?) | |
| GenerateToDirectory(string, string, PublicApiOptions?) | |
| ReadAssembly(Stream, PublicApiReadOptions?) | Reads the public API of an assembly from a stream that contains a PE image, without loading it. The stream is not closed. |
| ReadAssembly(string, PublicApiReadOptions?) | Reads the public API of an assembly file, without loading it. |
Aggregate(IReadOnlyList<PublicApiAssembly>)
PublicApi.csAggregates the builds of an assembly for several target frameworks, to find the symbols that are specific to some of them and the declarations that differ.
public static PublicApiAggregatedAssembly Aggregate(IReadOnlyList<PublicApiAssembly> assemblies)Parameters
assembliesIReadOnlyList<PublicApiAssembly>- The builds of the same assembly. They must have the same name and distinct target frameworks.
Returns
Generate overloads
Generate(IReadOnlyList<AssemblySource>, PublicApiOptions?)
PublicApi.cspublic static IReadOnlyList<PublicApiFile> Generate(IReadOnlyList<AssemblySource> assemblySources, PublicApiOptions? options = null)No documentation is available.
Generate(Assembly, PublicApiOptions?)
PublicApi.cspublic static IReadOnlyList<PublicApiFile> Generate(Assembly assembly, PublicApiOptions? options = null)No documentation is available.
Generate(string, PublicApiOptions?)
PublicApi.cspublic static IReadOnlyList<PublicApiFile> Generate(string assemblyPath, PublicApiOptions? options = null)No documentation is available.
GenerateToDirectory overloads
GenerateToDirectory(IReadOnlyList<AssemblySource>, string, PublicApiOptions?)
PublicApi.cspublic static void GenerateToDirectory(IReadOnlyList<AssemblySource> assemblySources, string outputDirectory, PublicApiOptions? options = null)Parameters
assemblySourcesIReadOnlyList<AssemblySource>outputDirectorystringoptionsPublicApiOptions?
No documentation is available.
GenerateToDirectory(Assembly, string, PublicApiOptions?)
PublicApi.cspublic static void GenerateToDirectory(Assembly assembly, string outputDirectory, PublicApiOptions? options = null)Parameters
assemblyAssemblyoutputDirectorystringoptionsPublicApiOptions?
No documentation is available.
GenerateToDirectory(string, string, PublicApiOptions?)
PublicApi.cspublic static void GenerateToDirectory(string assemblyPath, string outputDirectory, PublicApiOptions? options = null)Parameters
assemblyPathstringoutputDirectorystringoptionsPublicApiOptions?
No documentation is available.
ReadAssembly overloads
ReadAssembly(Stream, PublicApiReadOptions?)
PublicApi.csReads the public API of an assembly from a stream that contains a PE image, without loading it. The stream is not closed.
public static PublicApiAssembly ReadAssembly(Stream stream, PublicApiReadOptions? options = null)ReadAssembly(string, PublicApiReadOptions?)
PublicApi.csReads the public API of an assembly file, without loading it.
public static PublicApiAssembly ReadAssembly(string assemblyPath, PublicApiReadOptions? options = null)