AnkiIO 1.0.2
Build, validate, import, and export Anki-compatible decks from .NET
Loading...
Searching...
No Matches
AnkiReviewLog.cs
1namespace AnkiIO;
2
32public sealed record AnkiReviewLog(
33 long Id,
34 DateTimeOffset ReviewedAt,
35 int Ease,
36 int Interval,
38 int EaseFactor,
39 TimeSpan AnswerTime,
40 int ReviewType)
41{
44 public long Id { get; init; } = Id;
45
48 public DateTimeOffset ReviewedAt { get; init; } = ReviewedAt;
49
52 public int Ease { get; init; } = Ease;
53
56 public int Interval { get; init; } = Interval;
57
60 public int PreviousInterval { get; init; } = PreviousInterval;
61
64 public int EaseFactor { get; init; } = EaseFactor;
65
68 public TimeSpan AnswerTime { get; init; } = AnswerTime;
69
72 public int ReviewType { get; init; } = ReviewType;
73}
Preserves one historical answer event separately from a card's current scheduling state.
TimeSpan AnswerTime
Gets the duration spent answering.
int PreviousInterval
Gets the interval that applied before the answer.
int EaseFactor
Gets the resulting legacy ease factor.
DateTimeOffset ReviewedAt
Gets the absolute time represented by this answer event.
long Id
Gets the stable legacy review-log key.
int ReviewType
Gets Anki's raw review-kind code.
int Interval
Gets the interval produced by the answer.
int Ease
Gets the raw answer-button selection.