~halega/+junk/sharpdevelop

« back to all changes in this revision

Viewing changes to src/Main/ICSharpCode.SharpDevelop.Sda/Src/EventArgs.cs

  • Committer: sk
  • Date: 2011-09-10 05:17:57 UTC
  • Revision ID: halega@halega.com-20110910051757-qfouz1llya9m6boy
4.1.0.7915 Release Candidate 1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
 
2
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
 
3
 
 
4
using System;
 
5
 
 
6
namespace ICSharpCode.SharpDevelop.Sda
 
7
{
 
8
        /// <summary>
 
9
        /// EventArgs for the <see cref="SharpDevelopHost.FileLoaded">SharpDevelopHost.FileLoaded</see>
 
10
        /// and <see cref="SharpDevelopHost.FileSaved">SharpDevelopHost.FileSaved</see> events.
 
11
        /// </summary>
 
12
        [Serializable]
 
13
        public class FileEventArgs : EventArgs
 
14
        {
 
15
                string fileName;
 
16
                
 
17
                /// <summary>
 
18
                /// Gets the file name.
 
19
                /// </summary>
 
20
                public string FileName {
 
21
                        get {
 
22
                                return fileName;
 
23
                        }
 
24
                }
 
25
                
 
26
                /// <summary>
 
27
                /// Creates a new instance of the FileEventArgs class.
 
28
                /// </summary>
 
29
                public FileEventArgs(string fileName)
 
30
                {
 
31
                        this.fileName = fileName;
 
32
                }
 
33
        }
 
34
}