internal void WriteElementExtensions(XmlWriter writer) { if (writer == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("writer"); } if (_elementExtensions != null) { _elementExtensions.WriteTo(writer); } }
internal void WriteElementExtensions(XmlWriter writer, Func <string, string, bool> shouldSkipElement = null) { if (writer == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("writer"); } if (_elementExtensions != null) { _elementExtensions.WriteTo(writer, shouldSkipElement); } }
internal void WriteElementExtensions(XmlWriter writer, Func <string, string, bool> shouldSkipElement = null) { if (writer == null) { throw new ArgumentNullException(nameof(writer)); } if (_elementExtensions != null) { _elementExtensions.WriteTo(writer, shouldSkipElement); } }