C# Class ClrPlus.Core.Extensions.AssemblyExtensions

Extension methods to work with Assemblies.
显示文件 Open project: perpetual-motion/clrplus

Public Methods

Method Description
Assembly ( this obj ) : Assembly

Geths the assembly for a given object.

Comments ( this assembly ) : string
Company ( this assembly ) : string
Copyright ( this assembly ) : string
Description ( this assembly ) : string

Extracts the Description of the assembly (DescriptionAttribute)

ExtractFileResource ( this assembly, string name ) : string
ExtractFileResourceToPath ( this assembly, string name, string filePath ) : string
ExtractFileResourceToTemp ( this assembly, string name ) : string
Logo ( this assembly ) : string
ResolveManifestResource ( this assembly, string name, Assembly &actualAssembly ) : string
SetLogo ( this assembly, string logoText ) : void
Title ( this assembly ) : string

Extracts the title of an assembly (TitleAttribute)

Version ( this assembly ) : string

Method Details

Assembly() public static method

Geths the assembly for a given object.
public static Assembly ( this obj ) : Assembly
obj this The obj.
return System.Reflection.Assembly

Comments() public static method

public static Comments ( this assembly ) : string
assembly this
return string

Company() public static method

public static Company ( this assembly ) : string
assembly this
return string

Copyright() public static method

public static Copyright ( this assembly ) : string
assembly this
return string

Description() public static method

Extracts the Description of the assembly (DescriptionAttribute)
public static Description ( this assembly ) : string
assembly this The assembly.
return string

ExtractFileResource() public static method

public static ExtractFileResource ( this assembly, string name ) : string
assembly this
name string
return string

ExtractFileResourceToPath() public static method

public static ExtractFileResourceToPath ( this assembly, string name, string filePath ) : string
assembly this
name string
filePath string
return string

ExtractFileResourceToTemp() public static method

public static ExtractFileResourceToTemp ( this assembly, string name ) : string
assembly this
name string
return string

Logo() public static method

public static Logo ( this assembly ) : string
assembly this
return string

ResolveManifestResource() public static method

public static ResolveManifestResource ( this assembly, string name, Assembly &actualAssembly ) : string
assembly this
name string
actualAssembly System.Reflection.Assembly
return string

SetLogo() public static method

public static SetLogo ( this assembly, string logoText ) : void
assembly this
logoText string
return void

Title() public static method

Extracts the title of an assembly (TitleAttribute)
public static Title ( this assembly ) : string
assembly this The assembly.
return string

Version() public static method

public static Version ( this assembly ) : string
assembly this
return string