Class BowireProjectLocation

Namespace
Kuestenlogik.Bowire.Projects
Assembly
Kuestenlogik.Bowire.dll

A located manifest: the resolved file path plus the project root — the directory that CONTAINS .bowire/, so the manifest's project-relative paths (schemas, suites, auth flow, rules) resolve against it.

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

Constructors

BowireProjectLocation(string, string)

A located manifest: the resolved file path plus the project root — the directory that CONTAINS .bowire/, so the manifest's project-relative paths (schemas, suites, auth flow, rules) resolve against it.

public BowireProjectLocation(string FilePath, string ProjectRoot)

Parameters

FilePath string

Absolute path to the discovered .bowire/project.json.

ProjectRoot string

Absolute path to the directory that owns the .bowire/ folder.

Properties

FilePath

Absolute path to the discovered .bowire/project.json.

public string FilePath { get; init; }

Property Value

string

ProjectRoot

Absolute path to the directory that owns the .bowire/ folder.

public string ProjectRoot { get; init; }

Property Value

string

Methods

Deconstruct(out string, out string)

public void Deconstruct(out string FilePath, out string ProjectRoot)

Parameters

FilePath string
ProjectRoot string

Equals(BowireProjectLocation?)

public bool Equals(BowireProjectLocation? other)

Parameters

other BowireProjectLocation

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 ==(BowireProjectLocation?, BowireProjectLocation?)

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

Parameters

left BowireProjectLocation
right BowireProjectLocation

Returns

bool

operator !=(BowireProjectLocation?, BowireProjectLocation?)

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

Parameters

left BowireProjectLocation
right BowireProjectLocation

Returns

bool