Extension methods for System.Reflection.Assembly that provide API-specific naming functionality.
public static class AssemblyExtensions
string GetApiName(this Assembly assembly, bool removeLastVerb = False)Summary: Gets a human-readable API name from the assembly, replacing "Api" with "API" for proper casing.
Parameters:
assembly- The assembly.
removeLastVerb- If true, removes the last word from the beautified assembly name.Returns: A formatted API name derived from the assembly name.
Code example:
For an assembly named "MyService.Api", this returns "My Service API". If is true, it returns "My Service"
Generated by MarkdownCodeDoc version 1.2