make fileshare feature use configuration builder

+1


On Mon, Aug 4, 2014 at 11:56 AM, John Simons <notifications@github.com>
wrote:

> In src/NServiceBus.Core/DataBus/ConfigureFileShareDataBus.cs:
>
> > +{
> > +
> > +    /// <summary>
> > +    /// Contains extension methods to <see cref="ConfigurationBuilder"/> for the file share data bus
> > +    /// </summary>
> > +    public static partial class ConfigureFileShareDataBus
> > +    {
> > +        /// <summary>
> > +        /// Use the file-based databus implementation with the default binary serializer.
> > +        /// </summary>
> > +        /// <param name="config">The configuration.</param>
> > +        /// <param name="basePath">The location to which to write serialized properties for the databus.</param>
> > +        /// <returns>The configuration.</returns>
> > +        public static ConfigurationBuilder FileShareDataBus(this ConfigurationBuilder config, string basePath)
> > +        {
> > +            config.settings.Set("FileShareDataBusPath", basePath);
>
> I think we should start having better key isolation for the settings key.
> Maybe use something like Nservicebus/feature/databus/filesharepath thoughts?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/Particular/NServiceBus/pull/2256/files#r15747834>.
>