Show / Hide Table of Contents

    Class AssemblyUtility

    This utility class is designed to make common System.Reflection.Assembly related operations easier to work with.

    Inheritance
    System.Object
    AssemblyUtility
    Namespace: Cuemon.Reflection
    Assembly: Cuemon.Reflection.dll
    Syntax
    public static class AssemblyUtility

    Methods

    | Improve this Doc

    GetAssemblyVersion(Assembly)

    Returns a System.Version that represents the version number of the specified assembly.

    Declaration
    public static Version GetAssemblyVersion(Assembly assembly)
    Parameters
    Type Name Description
    System.Reflection.Assembly assembly

    The assembly to resolve a System.Version from.

    Returns
    Type Description
    System.Version

    A System.Version that represents the version number of the specified assembly.

    | Improve this Doc

    GetFileVersion(Assembly)

    Returns a System.Version that represents the file version number of the specified assembly.

    Declaration
    public static Version GetFileVersion(Assembly assembly)
    Parameters
    Type Name Description
    System.Reflection.Assembly assembly

    The assembly to resolve a System.Version from.

    Returns
    Type Description
    System.Version

    A System.Version that represents the file version number of the specified assembly.

    | Improve this Doc

    GetProductVersion(Assembly)

    Returns a System.Version that represents the version of the product this assembly is distributed with.

    Declaration
    public static Version GetProductVersion(Assembly assembly)
    Parameters
    Type Name Description
    System.Reflection.Assembly assembly

    The assembly to resolve a System.Version from.

    Returns
    Type Description
    System.Version

    A System.Version that represents the version of the product this assembly is distributed with.

    | Improve this Doc

    IsDebugBuild(Assembly)

    Determines whether the specified assembly is a debug build.

    Declaration
    public static bool IsDebugBuild(Assembly assembly)
    Parameters
    Type Name Description
    System.Reflection.Assembly assembly

    The assembly to parse and determine whether it is a debug build or not.

    Returns
    Type Description
    System.Boolean

    true if the specified assembly is a debug build; otherwise, false.

    • Improve this Doc
    • View Source
    Back to top Copyright 2008-2018 Weubphoria. All rights reserved.
    Generated by DocFX