PostgresPortOptions
Namespace: Ankus.PgConfig
Assembly: Ankus.PgConfig.dll
Selects persistent port bases while leaving unspecified settings unchanged. Each base reserves room for every supported PostgreSQL major, from 13 through 19.
public sealed class PostgresPortOptionsInheritance: object
Constructors
Section titled “Constructors”PostgresPortOptions(int?, int?)
Section titled “PostgresPortOptions(int?, int?)”Selects persistent port bases while leaving unspecified settings unchanged. Each base reserves room for every supported PostgreSQL major, from 13 through 19.
public PostgresPortOptions(int? basePort = null, int? baseTestingPort = null)Parameters:
basePort — int?
The development port base, from 0 through 65516, or null to preserve it.
baseTestingPort — int?
The test port base, from 0 through 65516, or null to preserve it.
Properties
Section titled “Properties”BasePort
Section titled “BasePort”Gets the development port base to persist, or null to preserve the existing setting.
public int? BasePort { get; }Value: int?
BaseTestingPort
Section titled “BaseTestingPort”Gets the test port base to persist, or null to preserve the existing setting.
public int? BaseTestingPort { get; }Value: int?