jagregory / boolangstudio forked from olsonjeffery/boolangstudio

Boo language integration for Visual Studio 2008

boolangstudio / Source / BooLangService / HierarchyEventArgs.cs
100644 29 lines (24 sloc) 0.62 kb
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
using System;
using Microsoft.VisualStudio.TextManager.Interop;
 
namespace Boo.BooLangProject
{
    public class HierarchyEventArgs : EventArgs
    {
        private readonly string fileName;
        private readonly uint itemID;
 
        public HierarchyEventArgs(uint itemID, string fileName)
        {
            this.itemID = itemID;
            this.fileName = fileName;
        }
 
        public string FileName
        {
            get { return fileName; }
        }
 
        public uint ItemID
        {
            get { return itemID; }
        }
 
        public IVsTextLines TextBuffer { get; set; }
    }
}