Base class for data bus definitions.
Наследование: DataBusDefinition
        /// <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 Configure FileShareDataBus(this Configure config, string basePath)
        {
            var dataBus = new FileShareDataBus(basePath);

            config.Configurer.RegisterSingleton <IDataBus>(dataBus);

            return(config);
        }
        /// <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 Configure FileShareDataBus(this Configure config, string basePath)
        {
            var dataBus = new FileShareDataBus(basePath);

            config.Configurer.RegisterSingleton<IDataBus>(dataBus);

            return config;
        }