[NUI] Adjust directory (#903)
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI / src / public / Xaml / XmlLineInfo.cs
1 using System.ComponentModel;
2 using System.Xml;
3
4 namespace Tizen.NUI.Xaml
5 {
6     /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
7     [EditorBrowsable(EditorBrowsableState.Never)]
8     public class XmlLineInfo : IXmlLineInfo
9     {
10         readonly bool _hasLineInfo;
11
12         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
13         [EditorBrowsable(EditorBrowsableState.Never)]
14         public XmlLineInfo()
15         {
16         }
17
18         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
19         [EditorBrowsable(EditorBrowsableState.Never)]
20         public XmlLineInfo(int linenumber, int lineposition)
21         {
22             _hasLineInfo = true;
23             LineNumber = linenumber;
24             LinePosition = lineposition;
25         }
26
27         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
28         [EditorBrowsable(EditorBrowsableState.Never)]
29         public bool HasLineInfo()
30         {
31             return _hasLineInfo;
32         }
33
34         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
35         [EditorBrowsable(EditorBrowsableState.Never)]
36         public int LineNumber { get; }
37
38         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
39         [EditorBrowsable(EditorBrowsableState.Never)]
40         public int LinePosition { get; }
41     }
42 }