C# Class PluginFramework.AddIn.Utility.ReflectionUtil

Show file Open project: tianjing/PluginFramework

Public Methods

Method Description
GetAssemblyFilename ( Assembly assembly ) : string
GetAssemblyVersion ( Assembly assembly ) : string
GetCustomAttributes ( Assembly assembly, Type attribute ) : PluginFramework.AddIn.Reflection.AttributeInfo[]

Method Details

GetAssemblyFilename() public static method

public static GetAssemblyFilename ( Assembly assembly ) : string
assembly System.Reflection.Assembly
return string

GetAssemblyVersion() public static method

public static GetAssemblyVersion ( Assembly assembly ) : string
assembly System.Reflection.Assembly
return string

GetCustomAttributes() public static method

public static GetCustomAttributes ( Assembly assembly, Type attribute ) : PluginFramework.AddIn.Reflection.AttributeInfo[]
assembly System.Reflection.Assembly
attribute System.Type
return PluginFramework.AddIn.Reflection.AttributeInfo[]