Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class NodaTime.​Xml.​XmlSerializationSettings

Assembly: NodaTime

Inheritance: object → XmlSerializationSettings

Ambient settings applied during XML serialization and deserialization. XML serialization in .NET does not provide any "hooks" for advanced configuration. Most of the time that's a good thing, in terms of compatibility: we want the same data to be serialized the same way across multiple programs for interoperability. There are some exceptions to this however, where decisions need to be made and there's no single "right for everyone" choice.

Properties

public static IDateTimeZoneProvider
DateTimeZoneProvider
Gets the <see cref="T:NodaTime.IDateTimeZoneProvider" /> to use to interpret a time zone ID read as part of XML serialization.
Remarks This property defaults to <see cref="P:NodaTime.DateTimeZoneProviders.Tzdb" /> .

Methods

public bool
Equals​(object obj)
Inherited from object
protected void
Finalize​()
Inherited from object
public int
GetHashCode​()
Inherited from object
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object