XamlSourceInfo Class
Represents source location information for an element within a XAML or code file.
Definition
Namespace: Avalonia.Markup.Xaml.Diagnostics
Assembly: Avalonia.Markup.Xaml (in Avalonia.Markup.Xaml.dll)
- C#
- VB
- F#
public class XamlSourceInfo : IEquatable<XamlSourceInfo>
Public Class XamlSourceInfo
Implements IEquatable(Of XamlSourceInfo)
type XamlSourceInfo =
class
interface IEquatable<XamlSourceInfo>
end
| Inheritance | Object → XamlSourceInfo |
| Implements | IEquatable(XamlSourceInfo) |
Constructors
| XamlSourceInfo(Int32, Int32, String) | Initializes a new instance of the XamlSourceInfo class with a specified line, column, and file path. |
Properties
| LineNumber | Gets the 1-based line number in the source file where the element is defined. |
| LinePosition | Gets the 1-based column number in the source file where the element is defined. |
| SourceUri | Gets the full path of the source file containing the element, or null if unavailable. |
Methods
| Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
| GetType() | Gets the Type of the current instance. (Inherited from Object) |
| GetXamlSourceInfo(Object) | Retrieves the XAML source information associated with the specified object, if available. |
| GetXamlSourceInfo(IResourceDictionary, Object) | Retrieves the XAML source information associated with the specified key in the given resource dictionary, if available. |
| MemberwiseClone() | Creates a shallow copy of the current Object. (Inherited from Object) |
| SetXamlSourceInfo(Object, XamlSourceInfo) | Associates XAML source information with the specified object for debugging or diagnostic purposes. |
| SetXamlSourceInfo(IResourceDictionary, Object, XamlSourceInfo) | Associates XAML source information with the specified key in the given resource dictionary. |
| ToString() | Returns a string that represents the current XamlSourceInfo. (Overrides Object.ToString()) |