C# Class System.Reflection.Assembly

Inheritance: ICustomAttributeProvider
ファイルを表示 Open project: theolivenbaum/h5 Class Usage Examples

Private Properties

Property Type Description
Assembly
CreateInstance object
CreateQualifiedName string
GetAssembly Assembly
GetExecutingAssembly Assembly
GetType Type
GetTypes Type[]
GetVersion string
Load Assembly

Public Methods

Method Description
GetCustomAttributes ( ) : object[]

Retrieves a collection of custom attributes that are applied to a specified assembly.

GetCustomAttributes ( Type attributeType ) : object[]

Retrieves a collection of custom attributes of a specified type that are applied to a specified assembly.

GetCustomAttributes ( Type attributeType, bool inherit ) : object[]

Gets the custom attributes for this assembly as specified by type.

GetCustomAttributes ( bool inherit ) : object[]

Gets all the custom attributes for this assembly.

GetManifestResourceData ( Type type, string name ) : byte[]
GetManifestResourceData ( string name ) : byte[]
GetManifestResourceDataAsBase64 ( Type type, string name ) : string
GetManifestResourceDataAsBase64 ( string name ) : string
GetManifestResourceNames ( ) : string[]

Returns the names of all the resources in this assembly.

Private Methods

Method Description
Assembly ( )
CreateInstance ( string typeName ) : object
CreateQualifiedName ( string assemblyName, string typeName ) : string
GetAssembly ( Type type ) : Assembly
GetExecutingAssembly ( ) : Assembly
GetType ( string name ) : Type
GetTypes ( ) : Type[]
GetVersion ( ) : string
Load ( string assemblyString ) : Assembly

Method Details

GetCustomAttributes() public method

Retrieves a collection of custom attributes that are applied to a specified assembly.
public GetCustomAttributes ( ) : object[]
return object[]

GetCustomAttributes() public method

Retrieves a collection of custom attributes of a specified type that are applied to a specified assembly.
public GetCustomAttributes ( Type attributeType ) : object[]
attributeType Type The type of attribute to search for.
return object[]

GetCustomAttributes() public method

Gets the custom attributes for this assembly as specified by type.
public GetCustomAttributes ( Type attributeType, bool inherit ) : object[]
attributeType Type The type for which the custom attributes are to be returned.
inherit bool This argument is ignored for objects of type Assembly.
return object[]

GetCustomAttributes() public method

Gets all the custom attributes for this assembly.
public GetCustomAttributes ( bool inherit ) : object[]
inherit bool This argument is ignored for objects of type Assembly.
return object[]

GetManifestResourceData() public method

public GetManifestResourceData ( Type type, string name ) : byte[]
type Type
name string
return byte[]

GetManifestResourceData() public method

public GetManifestResourceData ( string name ) : byte[]
name string
return byte[]

GetManifestResourceDataAsBase64() public method

public GetManifestResourceDataAsBase64 ( Type type, string name ) : string
type Type
name string
return string

GetManifestResourceDataAsBase64() public method

public GetManifestResourceDataAsBase64 ( string name ) : string
name string
return string

GetManifestResourceNames() public method

Returns the names of all the resources in this assembly.
public GetManifestResourceNames ( ) : string[]
return string[]