/// <summary>Determines if the snapshot element was decorated with an extension indicating the element is constrained by the differential.</summary> /// <param name="element">An <see cref="IExtendable"/> instance.</param> /// <returns>A boolean value, or <c>null</c>.</returns> /// <remarks>Gets the boolean flag from the <see cref="CONSTRAINED_BY_DIFF_EXT"/> extension, if it exists.</remarks> public static bool?GetConstrainedByDiffExtension(this IExtendable element) => element.GetBoolExtension(CONSTRAINED_BY_DIFF_EXT);
/// <summary>Determines wether the snapshot element was marked as changed by the differential.</summary> /// <param name="element">An <see cref="IExtendable"/> instance.</param> /// <returns>A boolean value, or <c>null</c>.</returns> /// <remarks>Gets the boolean flag from the <see cref="CHANGED_BY_DIFF_EXT"/> extension, if it exists.</remarks> public static bool?GetChangedByDiff(this IExtendable element) => element.GetBoolExtension(CHANGED_BY_DIFF_EXT);