Show / Hide Table of Contents

Class ReportGenerators

The static members of this class generate reports about assemblies and their dependents.

Inheritance
System.Object
ReportGenerators
Namespace: WizardWrx.AssemblyUtils
Assembly: WizardWrx.AssemblyUtils.dll
Syntax
public class ReportGenerators : object

Methods

| Improve this Doc View Source

GetAssemblyGuidString(Assembly)

Get the GUID string (Registry format) attached to an assembly.

Declaration
public static string GetAssemblyGuidString(Assembly pasm)
Parameters
Type Name Description
Assembly pasm

Assembly from which to return the GUID string.

Returns
Type Description
System.String

If the method succeeds, the return value is the GUID attached to it and intended to be associated with its type library if the assembly is exposed to COM.

| Improve this Doc View Source

LabelKeyAssemblyProperties(StreamWriter, Char)

Generate the label row on the pswOut StreamWriter that is delimited by pchrDlm characters.

Declaration
public static void LabelKeyAssemblyProperties(StreamWriter pswOut, char pchrDlm)
Parameters
Type Name Description
StreamWriter pswOut

Specify the open StreamWriter upon which to write.

System.Char pchrDlm

Specify the delimiter character.

Remarks

The label template is a managed resource string, REPORT_FIELD_NAMES, which governs the field order.

| Improve this Doc View Source

ListKeyAssemblyProperties(Assembly, StreamWriter, Char)

Create a record and append it to the flat file behind a StreamWriter.

Declaration
public static void ListKeyAssemblyProperties(Assembly pasmSubject, StreamWriter pswOut, char pchrDlm)
Parameters
Type Name Description
Assembly pasmSubject

Specify the assembly to be evaluated.

StreamWriter pswOut

Specify the open StreamWriter upon which to write.

System.Char pchrDlm

Specify the delimiter character.

Remarks

The label template is a managed resource string, REPORT_FIELD_NAMES, which governs the field order.

| Improve this Doc View Source

ShowKeyAssemblyProperties(Assembly, Int32, Int32)

List selected properties of any assembly on a console.

Declaration
public static void ShowKeyAssemblyProperties(Assembly pasmSubject, int pintJ, int pintNDependents)
Parameters
Type Name Description
Assembly pasmSubject

Pass in a reference to the desired assembly, which may be the assembly that exports a specified type, the executing assembly, the calling assembly, the entry assembly, or any other assembly for which you can obtain a reference.

System.Int32 pintJ

Pass in the array subscript, a 32 bit signed integer.

System.Int32 pintNDependents

Pass in the array element count, a 32 bit signed integer.

  • Improve this Doc
  • View Source
Back to top Generated by DocFX