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 SourceXbimAssemblyInfo(Assembly)
Declaration
public XbimAssemblyInfo(Assembly assembly)
Parameters
Type | Name | Description |
---|---|---|
System.Reflection.Assembly | assembly |
XbimAssemblyInfo(Type)
Declaration
public XbimAssemblyInfo(Type type)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type |
Fields
| Improve this Doc View SourceOverrideLocation
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 SourceAssemblyLocation
Declaration
public string AssemblyLocation { get; }
Property Value
Type | Description |
---|---|
System.String |
AssemblyVersion
Declaration
public Version AssemblyVersion { get; }
Property Value
Type | Description |
---|---|
System.Version |
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 |
FileInfo
Declaration
public FileInfo FileInfo { get; }
Property Value
Type | Description |
---|---|
System.IO.FileInfo |
FileVersion
Declaration
public string FileVersion { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceAssemblyInformation(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 |