Show / Hide Table of Contents

Class BuildInfoAttribute

Attribute declaring information about a build.

Inheritance
object
Attribute
BuildInfoAttribute
Inherited Members
Attribute.GetCustomAttributes(MemberInfo, Type)
Attribute.GetCustomAttributes(MemberInfo, Type, bool)
Attribute.GetCustomAttributes(MemberInfo)
Attribute.GetCustomAttributes(MemberInfo, bool)
Attribute.IsDefined(MemberInfo, Type)
Attribute.IsDefined(MemberInfo, Type, bool)
Attribute.GetCustomAttribute(MemberInfo, Type)
Attribute.GetCustomAttribute(MemberInfo, Type, bool)
Attribute.GetCustomAttributes(ParameterInfo)
Attribute.GetCustomAttributes(ParameterInfo, Type)
Attribute.GetCustomAttributes(ParameterInfo, Type, bool)
Attribute.GetCustomAttributes(ParameterInfo, bool)
Attribute.IsDefined(ParameterInfo, Type)
Attribute.IsDefined(ParameterInfo, Type, bool)
Attribute.GetCustomAttribute(ParameterInfo, Type)
Attribute.GetCustomAttribute(ParameterInfo, Type, bool)
Attribute.GetCustomAttributes(Module, Type)
Attribute.GetCustomAttributes(Module)
Attribute.GetCustomAttributes(Module, bool)
Attribute.GetCustomAttributes(Module, Type, bool)
Attribute.IsDefined(Module, Type)
Attribute.IsDefined(Module, Type, bool)
Attribute.GetCustomAttribute(Module, Type)
Attribute.GetCustomAttribute(Module, Type, bool)
Attribute.GetCustomAttributes(Assembly, Type)
Attribute.GetCustomAttributes(Assembly, Type, bool)
Attribute.GetCustomAttributes(Assembly)
Attribute.GetCustomAttributes(Assembly, bool)
Attribute.IsDefined(Assembly, Type)
Attribute.IsDefined(Assembly, Type, bool)
Attribute.GetCustomAttribute(Assembly, Type)
Attribute.GetCustomAttribute(Assembly, Type, bool)
Attribute.Equals(object)
Attribute.GetHashCode()
Attribute.Match(object)
Attribute.IsDefaultAttribute()
Attribute.TypeId
object.ToString()
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.License
Assembly: SoCore.dll
Syntax
[AttributeUsage(AttributeTargets.Assembly)]
public class BuildInfoAttribute : Attribute

Constructors

BuildInfoAttribute(string, string, string, string, string)

Constructor for attribute describing information about the build.

Declaration
public BuildInfoAttribute(string assemblyVersion, string fileVersion, string semanticVersion, string branchName, string buildLabel)
Parameters
Type Name Description
string assemblyVersion
string fileVersion
string semanticVersion
string branchName

Name of the branch the module is built from.

string buildLabel

Build label for the module.

Properties

AssemblyVersion

AssemblyVersion generated from the build system

Declaration
public string AssemblyVersion { get; }
Property Value
Type Description
string

BranchName

Name of the branch the module is built from.

Declaration
public string BranchName { get; }
Property Value
Type Description
string

BuildDate

Date of the build.

Declaration
public DateTime BuildDate { get; }
Property Value
Type Description
DateTime

BuildLabel

Build label for the module.

Declaration
public string BuildLabel { get; }
Property Value
Type Description
string

FileVersion

FileVersion generated from the build system.

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

SemanticVersion

Semantic version of NetServer.

Declaration
public string SemanticVersion { get; }
Property Value
Type Description
string

Methods

ParseBuildDate(string)

"Release_10.1.1_2022.03.23-10" -> 2022.03.23 "8122.MACHINE" -> 2022.03.23 (8122 is days since epoch 2000-1-1)

Declaration
public static DateTime ParseBuildDate(string buildLabel)
Parameters
Type Name Description
string buildLabel

"Release_10.1.1_2022.03.23-10"

Returns
Type Description
DateTime

date found in string

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top