Skip to content

Commit

Permalink
introduce method of internal to make other protected and virtual
Browse files Browse the repository at this point in the history
  • Loading branch information
Arkadiusz Biel committed Dec 3, 2024
1 parent 4c877df commit 1bb5418
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@ protected override SyncAttempt<IDictionaryItem> DeserializeCore(XElement node, S
return SyncAttempt<IDictionaryItem>.Succeed(item.ItemKey, item, ChangeType.Import, details);
}

private IEnumerable<uSyncChange> DeserializeTranslations(IDictionaryItem item, XElement node, SyncSerializerOptions options)
protected virtual IEnumerable<uSyncChange> DeserializeTranslations(IDictionaryItem item, XElement node, SyncSerializerOptions options) => DeserializeTranslationsInternal(item, node, options);
private IEnumerable<uSyncChange> DeserializeTranslationsInternal(IDictionaryItem item, XElement node, SyncSerializerOptions options)
{
var translationNode = node?.Element("Translations");
if (translationNode == null) return Enumerable.Empty<uSyncChange>();
Expand Down

0 comments on commit 1bb5418

Please sign in to comment.