blob: 8508f8cdb07110504642b65e25bc35200de23ff6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
//
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
//
using System;
namespace Microsoft.VisualStudio.Text.Editor
{
/// <summary>
/// Provides information for the <see cref="IEditorOptions.OptionChanged"/> event.
/// </summary>
public class EditorOptionChangedEventArgs : EventArgs
{
private string _optionId;
/// <summary>
/// Initializes a new instance of <see cref="EditorOptionChangedEventArgs"/>.
/// </summary>
/// <param name="optionId">The ID of the option.</param>
public EditorOptionChangedEventArgs(string optionId)
{
_optionId = optionId;
}
/// <summary>
/// Gets the ID of the option that has changed.
/// </summary>
public string OptionId { get { return _optionId; } }
}
}
|