Skip to content

API Overview

Mike-EEE edited this page Nov 29, 2019 · 19 revisions

At the heart of ExtendedXmlSerializer's configuration sits a fluent API. Example:

    IExtendedXmlSerializer serializer = new ConfigurationContainer()
        .UseEncryptionAlgorithm(new CustomEncryption())
        .Type<Person>() // Configuration of Person class
            .Member(p => p.Password) // First member
                .Name("P")
                .Encrypt()
            .Member(p => p.Name) // Second member
                .Name("T")
        .Type<TestClass>() // Configuration of another class
            .CustomSerializer(new TestClassSerializer())
        .Create();

As such, there are three primary configuration components that you will work with to configure ExtendedXmlSerializer:

  • ConfigurationContainer
  • TypeConfiguration<T>
  • MemberConfiguration<T, TMember>

We will start this API Overview with exploring these three configuration elements, and then move onto other primary components used throughout ExtendedXmlSerializer.

ConfigurationContainer

TBD

Configuration Profiles

TBD

TypeConfiguration

TBD

MemberConfiguration

TBD

Application Components

Now that we have explored the configuration components, let's briefly dive into the other featured components used throughout ExtendedXmlSerializer.

ISerializer

TBD

IElement

TBD

IContents

TBD

IConverter

TBD

ISerializerExtension

TBD

Clone this wiki locally