Skip to content

Instantly share code, notes, and snippets.

View dawoe's full-sized avatar

Dave Woestenborghs dawoe

  • DotControl
  • Dilsen-Stokkem, Belgium
  • X @dawoe21
View GitHub Profile
@dawoe
dawoe / CreateOnlyDictionaryHandler.cs
Created October 16, 2019 11:07 — forked from jamiepollock/CreateOnlyDictionaryHandler.cs
A uSync custom DictionaryHandler which only imports items if they're missing. It will not overwrite any existing authored translations.
using Jumoo.uSync.BackOffice;
using Jumoo.uSync.BackOffice.Handlers;
using Jumoo.uSync.BackOffice.Helpers;
using Jumoo.uSync.Core;
using Jumoo.uSync.Core.Extensions;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Xml.Linq;