Ejemplo n.º 1
0
 /// <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);
 }
Ejemplo n.º 2
0
 /// <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);
 }
Ejemplo n.º 3
0
 static void ClearExtension(this IExtendable extendable, string uri)
 {
     extendable?.RemoveExtension(uri);
 }