internal static string ToChar(this DomEndOfLineCharacter c)
        {
            switch (c)
            {
            case DomEndOfLineCharacter.LF:
                return("\n");

            case DomEndOfLineCharacter.CRLF:
            default:
                return("\r\n");
            }
        }
 public DomWriterSettings(DomWriterSettings other)
 {
     if (other == null)
     {
         return;
     }
     IsReadOnly               = other.IsReadOnly;
     IndentWidth              = other.IndentWidth;
     Indent                   = other.Indent;
     AlignAttributes          = other.AlignAttributes;
     QuoteAttributesCharacter = other.QuoteAttributesCharacter;
     IndentCharacter          = other.IndentCharacter;
     EndOfLineCharacters      = other.EndOfLineCharacters;
 }