Table of Contents

Class ProgramAssemblyUtility

Namespace
Songhay
Assembly
SonghayCore.dll

Static members related to System.Reflection.

public static class ProgramAssemblyUtility
Inheritance
ProgramAssemblyUtility
Inherited Members

Methods

GetAssemblyInfo(Assembly)

Returns a string about the executing assembly.

public static string? GetAssemblyInfo(Assembly targetAssembly)

Parameters

targetAssembly Assembly

The executing Assembly.

Returns

string

Returns string

GetAssemblyInfo(Assembly?, bool)

Returns a string about the executing assembly.

public static string? GetAssemblyInfo(Assembly? targetAssembly, bool useConsoleChars)

Parameters

targetAssembly Assembly

The executing Assembly.

useConsoleChars bool

When true selected “special” characters are formatted for the Windows Console.

Returns

string

Returns string

GetPathFromAssembly(Assembly?)

Gets the directory name from assembly.

public static string? GetPathFromAssembly(Assembly? assembly)

Parameters

assembly Assembly

The assembly.

Returns

string

GetPathFromAssembly(Assembly?, string?)

Gets the path from assembly.

public static string GetPathFromAssembly(Assembly? assembly, string? fileSegment)

Parameters

assembly Assembly

The assembly.

fileSegment string

The file segment.

Returns

string