Skip to content

Commit

Permalink
introduce method of internal to make other protected and virtual (#690)
Browse files Browse the repository at this point in the history
Co-authored-by: Arkadiusz Biel <a.biel@ry.com>
  • Loading branch information
bielu and Arkadiusz Biel authored Dec 19, 2024
1 parent 4c877df commit 3e97c90
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 3e97c90

Please sign in to comment.