C# 클래스 GSF.Reflection.AssemblyInfo

Represents a common information provider for an assembly.
파일 보기 프로젝트 열기: GridProtectionAlliance/gsf 1 사용 예제들

공개 메소드들

메소드 설명
AssemblyInfo ( Assembly assemblyInstance ) : System

Initializes a new instance of the AssemblyInfo class.

FindType ( string typeName ) : Type

Finds the specified typeName searching through all loaded assemblies.

GetAttributes ( ) : NameValueCollection

Gets a collection of assembly attributes exposed by the assembly.

GetCustomAttribute ( Type attributeType ) : CustomAttributeData

Gets the specified assembly attribute if it is exposed by the assembly.

This method always returns null under Mono deployments.

GetEmbeddedResource ( string resourceName ) : Stream

Gets the specified embedded resource from the assembly.

비공개 메소드들

메소드 설명
LoadAssemblyFromResource ( string assemblyName ) : void
ResolveAssemblyFromResource ( object sender, ResolveEventArgs e ) : Assembly

메소드 상세

AssemblyInfo() 공개 메소드

Initializes a new instance of the AssemblyInfo class.
public AssemblyInfo ( Assembly assemblyInstance ) : System
assemblyInstance System.Reflection.Assembly An object.
리턴 System

FindType() 공개 정적인 메소드

Finds the specified typeName searching through all loaded assemblies.
public static FindType ( string typeName ) : Type
typeName string Fully qualified type name.
리턴 System.Type

GetAttributes() 공개 메소드

Gets a collection of assembly attributes exposed by the assembly.
public GetAttributes ( ) : NameValueCollection
리턴 System.Collections.Specialized.NameValueCollection

GetCustomAttribute() 공개 메소드

Gets the specified assembly attribute if it is exposed by the assembly.
This method always returns null under Mono deployments.
public GetCustomAttribute ( Type attributeType ) : CustomAttributeData
attributeType System.Type Type of the attribute to get.
리턴 System.Reflection.CustomAttributeData

GetEmbeddedResource() 공개 메소드

Gets the specified embedded resource from the assembly.
public GetEmbeddedResource ( string resourceName ) : Stream
resourceName string The full name (including the namespace) of the embedded resource to get.
리턴 Stream