Skip to content

Commit

Permalink
Reverted removal of OnDeserializing as deleting override can cause su…
Browse files Browse the repository at this point in the history
…btle problems.
  • Loading branch information
HitTheDrum committed Sep 2, 2017
1 parent 7236eb3 commit 7a3f471
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions net-core/Ical.Net/Ical.Net/Components/Journal.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ public Journal()
}

protected override bool EvaluationIncludesReferenceDate => true;

protected override void OnDeserializing(StreamingContext context)
{
base.OnDeserializing(context);
}

protected bool Equals(Journal other) => Start.Equals(other.Start) && Equals(other as RecurringComponent);

Expand Down
5 changes: 5 additions & 0 deletions v2/ical.NET/Components/Journal.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ public Journal()
}

protected override bool EvaluationIncludesReferenceDate => true;

protected override void OnDeserializing(StreamingContext context)
{
base.OnDeserializing(context);
}

protected bool Equals(Journal other) => Start.Equals(other.Start) && Equals(other as RecurringComponent);

Expand Down

0 comments on commit 7a3f471

Please sign in to comment.