blob: f4c477c09f558e29e3689aa59a32d64dae608361 (
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
|
namespace Microsoft.VisualStudio.Text.Adornments
{
using Microsoft.VisualStudio.Core.Imaging;
/// <summary>
/// Represents an image in an <see cref="IToolTipService"/> <see cref="IToolTipPresenter"/>.
/// </summary>
///
/// <remarks>
/// <see cref="ImageElement"/>s should be constructed with <see cref="Microsoft.VisualStudio.Core.Imaging.ImageId"/>s
/// that correspond to an image on that platform.
/// </remarks>
public sealed class ImageElement
{
/// <summary>
/// Creates a new instance of an image element.
/// </summary>
/// <param name="iamgeId"> A unique identifier for an image.</param>
public ImageElement(ImageId imageId)
{
this.ImageId = imageId;
}
/// <summary>
/// A unique identifier for an image.
/// </summary>
public ImageId ImageId { get; }
}
}
|