public static AzureServiceBusTopologySettings <EndpointOrientedTopology> RegisterPublisher(this AzureServiceBusTopologySettings <EndpointOrientedTopology> topologySettings, Type type, string publisherName)
 {
     AddScannerForPublisher(topologySettings.GetSettings(), publisherName, new SingleTypeScanner(type));
     return(topologySettings);
 }
 public static AzureServiceBusTopologySettings <EndpointOrientedTopology> RegisterPublisher(this AzureServiceBusTopologySettings <EndpointOrientedTopology> topologySettings, Assembly assembly, string publisherName)
 {
     AddScannerForPublisher(topologySettings.GetSettings(), publisherName, new AssemblyTypesScanner(assembly));
     return(topologySettings);
 }
 public static AzureServiceBusTopologySettings <ForwardingTopology> BundlePrefix(this AzureServiceBusTopologySettings <ForwardingTopology> topologySettings, string prefix)
 {
     throw new NotImplementedException();
 }
 public static AzureServiceBusTopologySettings <ForwardingTopology> NumberOfEntitiesInBundle(this AzureServiceBusTopologySettings <ForwardingTopology> topologySettings, int number)
 {
     throw new NotImplementedException();
 }
 public static AzureServiceBusTopologySettings <EndpointOrientedTopology> RegisterPublisher(this AzureServiceBusTopologySettings <EndpointOrientedTopology> topologySettings, Assembly assembly, string publisherName)
 {
     throw new NotImplementedException();
 }
Пример #6
0
        public static AzureServiceBusTopologySettings <ForwardingTopology> NumberOfEntitiesInBundle(this AzureServiceBusTopologySettings <ForwardingTopology> topologySettings, int number)
        {
            var settings = topologySettings.GetSettings();

            settings.Set(WellKnownConfigurationKeys.Topology.Bundling.NumberOfEntitiesInBundle, number);
            return(topologySettings);
        }
Пример #7
0
        public static AzureServiceBusTopologySettings <ForwardingTopology> BundlePrefix(this AzureServiceBusTopologySettings <ForwardingTopology> topologySettings, string prefix)
        {
            var settings = topologySettings.GetSettings();

            settings.Set(WellKnownConfigurationKeys.Topology.Bundling.BundlePrefix, prefix);
            return(topologySettings);
        }