Skip to main content

Definition

Assembly: Microsoft.OData.Mcp.Core.dll Namespace: Microsoft.OData.Mcp.Core.Configuration Inheritance: System.Object

Syntax

Summary

Build information for the MCP server.

Constructors

.ctor

Syntax

.ctor Inherited

Inherited from object

Syntax

Properties

Branch

Gets or sets the branch name from which the build was created.

Syntax

Property Value

Type: string? The source control branch name.

BuildNumber

Gets or sets the build number or identifier.

Syntax

Property Value

Type: string? The build number or identifier from the CI/CD system.

BuildTimestamp

Gets or sets the timestamp when the build was created.

Syntax

Property Value

Type: System.Nullable<System.DateTime?>? The UTC timestamp of the build.

CommitHash

Gets or sets the commit hash of the source code.

Syntax

Property Value

Type: string? The Git commit hash or similar version control identifier.

Configuration

Gets or sets the build configuration (e.g., Debug, Release).

Syntax

Property Value

Type: string? The build configuration used to compile the server.

TargetFramework

Gets or sets the target framework for which the server was built.

Syntax

Property Value

Type: string? The .NET target framework (e.g., “net8.0”, “net9.0”).

Methods

Clone

Creates a copy of this build information.

Syntax

Returns

Type: Microsoft.OData.Mcp.Core.Configuration.BuildInfo A new instance with the same values.

Equals Inherited Virtual

Inherited from object

Syntax

Parameters

Returns

Type: bool

Equals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

GetHashCode Inherited Virtual

Inherited from object

Syntax

Returns

Type: int

GetType Inherited

Inherited from object

Syntax

Returns

Type: System.Type

MemberwiseClone Inherited

Inherited from object

Syntax

Returns

Type: object

ReferenceEquals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

ToString Inherited Virtual

Inherited from object

Syntax

Returns

Type: string?