Search Results for

    Show / Hide Table of Contents

    Class XbimAssemblyInfo

    This class can be useful to understand exact version of the xbim assemblies used.

    Inheritance
    System.Object
    XbimAssemblyInfo
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Xbim.Common
    Assembly: Xbim.Common.dll
    Syntax
    public class XbimAssemblyInfo

    Constructors

    | Improve this Doc View Source

    XbimAssemblyInfo(Assembly)

    Declaration
    public XbimAssemblyInfo(Assembly assembly)
    Parameters
    Type Name Description
    System.Reflection.Assembly assembly
    | Improve this Doc View Source

    XbimAssemblyInfo(Type)

    Declaration
    public XbimAssemblyInfo(Type type)
    Parameters
    Type Name Description
    System.Type type

    Fields

    | Improve this Doc View Source

    OverrideLocation

    This property needs to be set when loading the assembly from a stream instead of a specific folder.

    Declaration
    public string OverrideLocation
    Field Value
    Type Description
    System.String

    Properties

    | Improve this Doc View Source

    AssemblyLocation

    Declaration
    public string AssemblyLocation { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    AssemblyVersion

    Declaration
    public Version AssemblyVersion { get; }
    Property Value
    Type Description
    System.Version
    | Improve this Doc View Source

    CompilationTime

    Returns the date and time of compilation, extracted from the fileversioninfo according to compilation policy. It returns DateTime.MinValue when the file properties can not be loaded. In this scenarios OverrideLocation needs to be set.

    Declaration
    public DateTime CompilationTime { get; }
    Property Value
    Type Description
    System.DateTime
    | Improve this Doc View Source

    FileInfo

    Declaration
    public FileInfo FileInfo { get; }
    Property Value
    Type Description
    System.IO.FileInfo
    | Improve this Doc View Source

    FileVersion

    Declaration
    public string FileVersion { get; }
    Property Value
    Type Description
    System.String

    Methods

    | Improve this Doc View Source

    AssemblyInformation(Assembly)

    Returns information suitable to identify the exact version of an xbim assembly

    Declaration
    public static string AssemblyInformation(Assembly theAssembly)
    Parameters
    Type Name Description
    System.Reflection.Assembly theAssembly

    The assembly to analyse

    Returns
    Type Description
    System.String
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2022 xbim