ULSAlgorithms
1.1.0-g3e5595996d
High-performance exact and heuristic algorithms for uncapacitated lot sizing
Loading...
Searching...
No Matches
ULSAlgorithmsInfo.cs
Go to the documentation of this file.
1
using
System.Reflection;
2
3
namespace
ULSAlgorithms
;
4
5
/// <summary>
6
/// Exposes stable runtime metadata for the ULSAlgorithms assembly.
7
/// </summary>
8
/// <remarks>
9
/// This type is intentionally infrastructure-only. No ULS model or algorithm is
10
/// introduced in the 0.1.0 bootstrap release.
11
/// </remarks>
12
public
static
class
ULSAlgorithmsInfo
13
{
14
private
static
readonly Assembly CurrentAssembly = typeof(
ULSAlgorithmsInfo
).Assembly;
15
16
/// <summary>
17
/// Gets the assembly name.
18
/// </summary>
19
public
static
string
Name
=> CurrentAssembly.GetName().Name ??
"ULSAlgorithms"
;
20
21
/// <summary>
22
/// Gets the CLR assembly version.
23
/// </summary>
24
public
static
Version
Version
=>
25
CurrentAssembly.GetName().Version ??
new
Version
(0, 0, 0, 0);
26
27
/// <summary>
28
/// Gets the informational version generated by the repository versioning infrastructure.
29
/// </summary>
30
public
static
string
InformationalVersion
=>
31
CurrentAssembly
32
.GetCustomAttribute<AssemblyInformationalVersionAttribute>()
33
?.
InformationalVersion
34
??
Version
.ToString();
35
}
ULSAlgorithms.ULSAlgorithmsInfo
Exposes stable runtime metadata for the ULSAlgorithms assembly.
Definition
ULSAlgorithmsInfo.cs:13
ULSAlgorithms.ULSAlgorithmsInfo.InformationalVersion
static string InformationalVersion
Gets the informational version generated by the repository versioning infrastructure.
Definition
ULSAlgorithmsInfo.cs:30
ULSAlgorithms.ULSAlgorithmsInfo.Version
static Version Version
Gets the CLR assembly version.
Definition
ULSAlgorithmsInfo.cs:24
ULSAlgorithms.ULSAlgorithmsInfo.Name
static string Name
Gets the assembly name.
Definition
ULSAlgorithmsInfo.cs:19
ULSAlgorithms
Definition
IAsyncUlsSolver.cs:4
src
ULSAlgorithms
ULSAlgorithmsInfo.cs
Generated by
1.17.0