/// <summary> /// Construct a new <see cref="LSLCodeFormatter"/> with the given settings object. /// </summary> /// <param name="settings">The <see cref="LSLCodeFormatterSettings"/> object to use for the formatter.</param> /// <exception cref="ArgumentNullException">Thrown if <paramref name="settings" /> is <c>null</c>.</exception> public LSLCodeFormatter(LSLCodeFormatterSettings settings) { if (settings == null) { throw new ArgumentNullException("settings"); } _settings = settings; }
/// <summary> /// Construct a new <see cref="LSLCodeFormatter"/>. /// </summary> public LSLCodeFormatter() { _settings = new LSLCodeFormatterSettings(); }