// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // namespace Microsoft.SqlTools.EditorServices { /// /// Defines the message level of a script file marker. /// public enum ScriptFileMarkerLevel { /// /// The marker represents an informational message. /// Information = 0, /// /// The marker represents a warning message. /// Warning, /// /// The marker represents an error message. /// Error }; /// /// Contains details about a marker that should be displayed /// for the a script file. The marker information could come /// from syntax parsing or semantic analysis of the script. /// public class ScriptFileMarker { #region Properties /// /// Gets or sets the marker's message string. /// public string Message { get; set; } /// /// Gets or sets the marker's message level. /// public ScriptFileMarkerLevel Level { get; set; } /// /// Gets or sets the ScriptRegion where the marker should appear. /// public ScriptRegion ScriptRegion { get; set; } #endregion } }