Class McpAppViewRequest

Namespace
Kuestenlogik.Bowire.Endpoints
Assembly
Kuestenlogik.Bowire.dll

An MCP App's document, to be hosted.

public sealed record McpAppViewRequest : IEquatable<McpAppViewRequest>
Inheritance
McpAppViewRequest
Implements
Inherited Members

Constructors

McpAppViewRequest(string?, McpAppCsp?)

An MCP App's document, to be hosted.

public McpAppViewRequest(string? Html, McpAppCsp? Csp = null)

Parameters

Html string
Csp McpAppCsp

Properties

Csp

[JsonPropertyName("csp")]
public McpAppCsp? Csp { get; init; }

Property Value

McpAppCsp

Html

[JsonPropertyName("html")]
public string? Html { get; init; }

Property Value

string

Methods

Deconstruct(out string?, out McpAppCsp?)

public void Deconstruct(out string? Html, out McpAppCsp? Csp)

Parameters

Html string
Csp McpAppCsp

Equals(McpAppViewRequest?)

public bool Equals(McpAppViewRequest? other)

Parameters

other McpAppViewRequest

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(McpAppViewRequest?, McpAppViewRequest?)

public static bool operator ==(McpAppViewRequest? left, McpAppViewRequest? right)

Parameters

left McpAppViewRequest
right McpAppViewRequest

Returns

bool

operator !=(McpAppViewRequest?, McpAppViewRequest?)

public static bool operator !=(McpAppViewRequest? left, McpAppViewRequest? right)

Parameters

left McpAppViewRequest
right McpAppViewRequest

Returns

bool