Table of Contents

Class Database

Namespace
Hegel
Assembly
Hegel.dll

Where a run keeps the failures it finds, to replay them first next time: the engine's default location, a directory of your choosing, or nowhere.

public sealed class Database : IEquatable<Database>
Inheritance
Database
Implements
Inherited Members

Properties

DefaultLocation

The engine's default location (a .hegel directory found from the working directory).

public static Database DefaultLocation { get; }

Property Value

Database

Disabled

No database: nothing is saved or replayed.

public static Database Disabled { get; }

Property Value

Database

Path

The directory, when this is a At(string) database.

public string? Path { get; }

Property Value

string

Methods

At(string)

A database in the directory at path.

public static Database At(string path)

Parameters

path string

Returns

Database

Equals(Database?)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(Database? other)

Parameters

other Database

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.