/// <summary>Removes the <see cref="CONSTRAINED_BY_DIFF_EXT"/> extension from the specified element definition.</summary> public static void RemoveConstrainedByDiffExtension(this IExtendable element) { if (element == null) { throw Error.ArgumentNull(nameof(element)); } element.RemoveExtension(CONSTRAINED_BY_DIFF_EXT); }
/// <summary>Removes the <see cref="CHANGED_BY_DIFF_EXT"/> extension from the specified element.</summary> /// <param name="element">An <see cref="IExtendable"/> instance.</param> public static void RemoveChangedByDiff(this IExtendable element) { if (element == null) { throw Error.ArgumentNull(nameof(element)); } element.RemoveExtension(CHANGED_BY_DIFF_EXT); }
static void ClearExtension(this IExtendable extendable, string uri) { extendable?.RemoveExtension(uri); }