/// <summary>
 /// Applies this patch documents content to the target resource.
 /// </summary>
 /// <param name="target">The Resource instance the patch will be applied to.</param>
 /// <exception cref="ArgumentNullException">if the resource instance is null.</exception>
 public void ApplyPatch(TResource target)
 {
     if (target == null)
     {
         throw new ArgumentNullException(nameof(target));
     }
     _internalDocument.ApplyPatch(target);
 }