Table of Contents

Class HostOptions

Namespace
DMediatR
Assembly
DMediatR.dll

Specification of a DMediatR node host. Also used for specifying the remotes in RemotesOptions.

public sealed class HostOptions
Inheritance
HostOptions
Inherited Members

Fields

SectionName

public const string SectionName = "DMediatR:Host"

Field Value

string

Properties

Host

[Required]
public string? Host { get; set; }

Property Value

string

OldPort

[Required]
[Range(typeof(int), "1", "65535")]
public int? OldPort { get; set; }

Property Value

int?

Port

[Required]
[Range(typeof(int), "1", "65535")]
public int? Port { get; set; }

Property Value

int?