Table of Contents

Class SecretResponse

Namespace
Ando.Server.Contracts.Projects
Assembly
Ando.Server.dll

Response from secret operation.

public record SecretResponse : IEquatable<SecretResponse>
Inheritance
SecretResponse
Implements
Inherited Members

Constructors

SecretResponse(bool, string?)

Response from secret operation.

public SecretResponse(bool Success, string? Error = null)

Parameters

Success bool

Whether the operation succeeded.

Error string

Error message if operation failed.

Properties

Error

Error message if operation failed.

public string? Error { get; init; }

Property Value

string

Success

Whether the operation succeeded.

public bool Success { get; init; }

Property Value

bool