Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Xml.Linq.XAttribute Class Reference

Public Member Functions

 XAttribute (XName name, object value)
 
 XAttribute (XAttribute other)
 
void Remove ()
 
void SetValue (object value)
 
override string ToString ()
 
void AddAnnotation (object annotation)
 
object? Annotation (Type type)
 
TAnnotation< T > ()
 
IEnumerable< object > Annotations (Type type)
 
IEnumerable< TAnnotations< T > ()
 
void RemoveAnnotations (Type type)
 
void RemoveAnnotations< T > ()
 

Static Public Member Functions

static operator string? (XAttribute? attribute)
 
static operator bool (XAttribute attribute)
 
static operator bool? (XAttribute? attribute)
 
static operator int (XAttribute attribute)
 
static operator int? (XAttribute? attribute)
 
static operator uint (XAttribute attribute)
 
static operator uint? (XAttribute? attribute)
 
static operator long (XAttribute attribute)
 
static operator long? (XAttribute? attribute)
 
static operator ulong (XAttribute attribute)
 
static operator ulong? (XAttribute? attribute)
 
static operator float (XAttribute attribute)
 
static operator float? (XAttribute? attribute)
 
static operator double (XAttribute attribute)
 
static operator double? (XAttribute? attribute)
 
static operator decimal (XAttribute attribute)
 
static operator decimal? (XAttribute? attribute)
 
static operator DateTime (XAttribute attribute)
 
static operator DateTime? (XAttribute? attribute)
 
static operator DateTimeOffset (XAttribute attribute)
 
static operator DateTimeOffset? (XAttribute? attribute)
 
static operator TimeSpan (XAttribute attribute)
 
static operator TimeSpan? (XAttribute? attribute)
 
static operator Guid (XAttribute attribute)
 
static operator Guid? (XAttribute? attribute)
 

Package Functions

int GetDeepHashCode ()
 
string GetPrefixOfNamespace (XNamespace ns)
 
bool NotifyChanged (object sender, XObjectChangeEventArgs e)
 
bool NotifyChanging (object sender, XObjectChangeEventArgs e)
 
void SetBaseUri (string baseUri)
 
void SetLineInfo (int lineNumber, int linePosition)
 
bool SkipNotify ()
 
SaveOptions GetSaveOptionsFromAnnotations ()
 

Package Attributes

XAttribute next
 
XName name
 
string value
 
XContainer parent
 
object annotations
 

Properties

static IEnumerable< XAttributeEmptySequence [get]
 
bool IsNamespaceDeclaration [get]
 
XName Name [get]
 
XAttributeNextAttribute [get]
 
override XmlNodeType NodeType [get]
 
XAttributePreviousAttribute [get]
 
string Value [get, set]
 
string BaseUri [get]
 
XDocumentDocument [get]
 
XElementParent [get]
 
int IXmlLineInfo. LineNumber [get]
 
int IXmlLineInfo. LinePosition [get]
 
bool HasBaseUri [get]
 
EventHandler< XObjectChangeEventArgsChanged
 
EventHandler< XObjectChangeEventArgsChanging
 

Private Member Functions

object AnnotationForSealedType (Type type)
 
IEnumerable< object > AnnotationsIterator (Type type)
 
bool IXmlLineInfo. HasLineInfo ()
 

Static Private Member Functions

static void ValidateAttribute (XName name, string value)
 

Detailed Description

Definition at line 10 of file XAttribute.cs.


The documentation for this class was generated from the following file: