-
Notifications
You must be signed in to change notification settings - Fork 47
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:
ConfigurationContainerTypeConfiguration<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.
TBD
TBD
TBD
TBD
Now that we have explored the configuration components, let's briefly dive into the other featured components used throughout ExtendedXmlSerializer.
TBD
TBD
TBD
TBD
TBD
ConfigurationContainerTypeConfigurationMemberConfigurationISerializerExtensionIContentsISerializerIConverterIElement