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