blob: 78f33b23911c126bdb1a0178ebdd88ea374cd843 (
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
31
32
|
//
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
//
namespace Microsoft.VisualStudio.Text.Tagging
{
using System;
/// <summary>
/// Provides information about the <see cref="ITagAggregator<T>" />.TagsChanged event.
/// </summary>
public class TagsChangedEventArgs : EventArgs
{
/// <summary>
/// Gets the span over which tags have changed.
/// </summary>
public IMappingSpan Span { get; private set; }
/// <summary>
/// Initializes a new instance of <see cref="TagsChangedEventArgs"/> with the specified <see cref="IMappingSpan" />.
/// </summary>
/// <param name="span">The <see cref="IMappingSpan" />.</param>
/// <exception cref="ArgumentNullException"><paramref name="span"/> is null.</exception>
public TagsChangedEventArgs(IMappingSpan span)
{
if (span == null)
throw new ArgumentNullException("span");
Span = span;
}
}
}
|