Skip to main content

Definition

Assembly: Microsoft.OData.Mcp.Tools.dll Namespace: Microsoft.OData.Mcp.Tools.Commands Inheritance: System.Object

Syntax

Microsoft.OData.Mcp.Tools.Commands.StartCommand

Summary

Command to start the OData MCP server.

Constructors

.ctor

Syntax

public StartCommand()

.ctor Inherited

Inherited from object

Syntax

public Object()

Properties

AuthToken

Gets or sets the authentication token.

Syntax

public string AuthToken { get; set; }

Property Value

Type: string?

Url

Gets or sets the OData service URL.

Syntax

public string Url { get; set; }

Property Value

Type: string?

Verbose

Gets or sets whether to enable verbose logging.

Syntax

public bool Verbose { get; set; }

Property Value

Type: bool

Methods

Equals Inherited Virtual

Inherited from object

Syntax

public virtual bool Equals(object obj)

Parameters

NameTypeDescription
objobject?-

Returns

Type: bool

Equals Inherited

Inherited from object

Syntax

public static bool Equals(object objA, object objB)

Parameters

NameTypeDescription
objAobject?-
objBobject?-

Returns

Type: bool

GetHashCode Inherited Virtual

Inherited from object

Syntax

public virtual int GetHashCode()

Returns

Type: int

GetType Inherited

Inherited from object

Syntax

public System.Type GetType()

Returns

Type: System.Type

MemberwiseClone Inherited

Inherited from object

Syntax

protected internal object MemberwiseClone()

Returns

Type: object

OnExecuteAsync

Executes the start command.

Syntax

public System.Threading.Tasks.Task<int> OnExecuteAsync()

Returns

Type: System.Threading.Tasks.Task<int> Exit code.

ReferenceEquals Inherited

Inherited from object

Syntax

public static bool ReferenceEquals(object objA, object objB)

Parameters

NameTypeDescription
objAobject?-
objBobject?-

Returns

Type: bool

ToString Inherited Virtual

Inherited from object

Syntax

public virtual string ToString()

Returns

Type: string?