Struct BowireGitWorkspaceMigrationKindReport
- Namespace
- Kuestenlogik.Bowire.Workspace.Git
- Assembly
- Kuestenlogik.Bowire.Workspace.Git.dll
Per-entity-kind migration outcome. Counts the entities written to the per-entity layout, plus a flag indicating whether the migration actually fired (false = nothing-to-do, kind absent on disk or already migrated).
public readonly struct BowireGitWorkspaceMigrationKindReport : IEquatable<BowireGitWorkspaceMigrationKindReport>
- Implements
- Inherited Members
Constructors
BowireGitWorkspaceMigrationKindReport(string, int, bool)
Per-entity-kind migration outcome. Counts the entities written to the per-entity layout, plus a flag indicating whether the migration actually fired (false = nothing-to-do, kind absent on disk or already migrated).
public BowireGitWorkspaceMigrationKindReport(string EntityKind, int Migrated, bool LegacyFound)
Parameters
Properties
DidWork
Convenience flag — the migration moved data on this run. Used by the CLI to surface a "nothing to do" diagnostic when every kind reports false.
public bool DidWork { get; }
Property Value
EntityKind
public string EntityKind { get; init; }
Property Value
LegacyFound
public bool LegacyFound { get; init; }
Property Value
Migrated
public int Migrated { get; init; }
Property Value
Methods
Deconstruct(out string, out int, out bool)
public void Deconstruct(out string EntityKind, out int Migrated, out bool LegacyFound)
Parameters
Equals(BowireGitWorkspaceMigrationKindReport)
public bool Equals(BowireGitWorkspaceMigrationKindReport other)
Parameters
Returns
Equals(object)
public override bool Equals(object obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(BowireGitWorkspaceMigrationKindReport, BowireGitWorkspaceMigrationKindReport)
public static bool operator ==(BowireGitWorkspaceMigrationKindReport left, BowireGitWorkspaceMigrationKindReport right)
Parameters
Returns
operator !=(BowireGitWorkspaceMigrationKindReport, BowireGitWorkspaceMigrationKindReport)
public static bool operator !=(BowireGitWorkspaceMigrationKindReport left, BowireGitWorkspaceMigrationKindReport right)