C# Класс eSpares.Levity.ApplicationAssemblyUtility

Показать файл Открыть проект

Открытые методы

Метод Описание
ApplicationIsDebugBuild ( ) : bool

Returns true if the current application assembly is built in Debug mode.

AssemblyIsDebugBuild ( Assembly assembly ) : bool

Checks for the DebuggableAttribute on the assembly provided to determine whether it has been built in Debug mode.

GetApplicationVersionNumber ( bool double00 = false ) : string

Returns the version number with depth 3 https://msdn.microsoft.com/en-us/library/bff8h2e1%28v=vs.110%29.aspx

GetAssemblyVersionFromType ( Type type, bool double00 = false ) : string

Returns the version number with depth 3 https://msdn.microsoft.com/en-us/library/bff8h2e1%28v=vs.110%29.aspx

Приватные методы

Метод Описание
getApplicationAssembly ( ) : Assembly
getApplicationBinFolder ( ) : string
getVersionString ( System.Version v, bool double00 = false, int depth = 3 ) : string

Описание методов

ApplicationIsDebugBuild() публичный статический Метод

Returns true if the current application assembly is built in Debug mode.
public static ApplicationIsDebugBuild ( ) : bool
Результат bool

AssemblyIsDebugBuild() публичный статический Метод

Checks for the DebuggableAttribute on the assembly provided to determine whether it has been built in Debug mode.
public static AssemblyIsDebugBuild ( Assembly assembly ) : bool
assembly System.Reflection.Assembly
Результат bool

GetApplicationVersionNumber() публичный статический Метод

Returns the version number with depth 3 https://msdn.microsoft.com/en-us/library/bff8h2e1%28v=vs.110%29.aspx
public static GetApplicationVersionNumber ( bool double00 = false ) : string
double00 bool Specify if you want double digits in minor and build fields
Результат string

GetAssemblyVersionFromType() публичный статический Метод

Returns the version number with depth 3 https://msdn.microsoft.com/en-us/library/bff8h2e1%28v=vs.110%29.aspx
public static GetAssemblyVersionFromType ( Type type, bool double00 = false ) : string
type System.Type
double00 bool Specify if you want double digits in minor and build fields
Результат string