-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Milestone
Description
Currently, there is an options class that contains all settings and it is included in the extension method. It should be possible to set it up fluently by method chaining.
Current:
//rebus configuration
...
.Serialization(
r => r
.UseXmlSerializing(
logger,
new XmlSerializingOptions()
{
IncludeNamespace = true,
DefaultNamespacePrefix = "http://tempuri.net"
}
)
)
Expected:
.Serialization(
r => r
.UseXmlSerializing()
.WithLogger(logger)
.IncludeNamespace()
.WithNamespacePrefix("http://tempuri.net")
)
and
var config = new XmlSerializerConfig()
.WithLogger(logger)
.IncludeNamespace()
.WithNamespacePrefix("http://tempuri.net");
...
.Serialization(r=> r.UseXmlSerializing(config))
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request