2 // System.Web.Compilation.Location
5 // Gonzalo Paniagua Javier (gonzalo@ximian.com)
7 // (C) 2003 Ximian, Inc (http://www.ximian.com)
10 namespace System.Web.Compilation
12 class Location : ILocation
14 int beginLine, endLine, beginColumn, endColumn;
15 string fileName, plainText;
17 public Location (ILocation location)
22 public void Init (ILocation location)
24 if (location == null) {
32 beginLine = location.BeginLine;
33 endLine = location.EndLine;
34 beginColumn = location.BeginColumn;
35 endColumn = location.EndColumn;
36 fileName = location.Filename;
37 plainText = location.PlainText;
41 public string Filename {
42 get { return fileName; }
45 public int BeginLine {
46 get { return beginLine; }
50 get { return endLine; }
53 public int BeginColumn {
54 get { return beginColumn; }
57 public int EndColumn {
58 get { return endColumn; }
61 public string PlainText {
62 get { return plainText; }