зеркало из https://github.com/DeGsoft/maui-linux.git
29 строки
442 B
C#
29 строки
442 B
C#
using System.Xml;
|
|
|
|
namespace Xamarin.Forms.Xaml
|
|
{
|
|
public class XmlLineInfo : IXmlLineInfo
|
|
{
|
|
readonly bool _hasLineInfo;
|
|
|
|
public XmlLineInfo()
|
|
{
|
|
}
|
|
|
|
public XmlLineInfo(int linenumber, int lineposition)
|
|
{
|
|
_hasLineInfo = true;
|
|
LineNumber = linenumber;
|
|
LinePosition = lineposition;
|
|
}
|
|
|
|
public bool HasLineInfo()
|
|
{
|
|
return _hasLineInfo;
|
|
}
|
|
|
|
public int LineNumber { get; }
|
|
|
|
public int LinePosition { get; }
|
|
}
|
|
} |