RunicNavigationRestore record

Namespace Runic.Application.Testing in Runic.Application.Testing 0.23.0

public sealed record RunicNavigationRestore : IEquatable<RunicNavigationRestore>

Inherits or implements IEquatable.

The outcome of RunicNavigationPathTesting.RestorePathAsync.

Parameters

Result

What the restore left out.

Saved

The JSON that was restored.

Restored

The JSON of the navigator's path after the restore.

Constructors

RunicNavigationRestore

public RunicNavigationRestore(NavigationRestoreResult Result, string Saved, string Restored)

The outcome of RunicNavigationPathTesting.RestorePathAsync.

Parameters

Result

What the restore left out.

Saved

The JSON that was restored.

Restored

The JSON of the navigator's path after the restore.

Properties

IsExact

public bool IsExact { get; }

Gets whether every part was restored and the navigator's path is the saved one.

Restored

public string Restored { get; init; }

The JSON of the navigator's path after the restore.

Result

public NavigationRestoreResult Result { get; init; }

What the restore left out.

Saved

public string Saved { get; init; }

The JSON that was restored.