コード例 #1
0
 public ChannelConfiguration(
     EndpointAddress address,
     MessageServer server, 
     MessagingConfiguration messagingConfiguration)
 {
     Contract.Requires(address != EndpointAddress.Empty);
     Contract.Requires(server != null);
     Contract.Requires(messagingConfiguration != null);
     
     this.address = address;
     this.server = server;
     this.messagingConfiguration = messagingConfiguration;
 }
コード例 #2
0
        public MessageServerConfiguration(MessagingConfiguration messagingConfiguration, MessageServer server)
        {
            Contract.Requires(messagingConfiguration != null);
            Contract.Requires(server != null);

            this.server = server;
            this.messagingConfiguration = messagingConfiguration;

            IIocContainer container = IocContainerLocator.Locate();

            RegisterNullPersistence(container);
            RegisterJsonSerialiser(container);
            ConfigureExternalSources(container);
        }
 static void SetupChangeStore(MessagingConfiguration configuration)
 {
     configuration.GetInternalIocContainer().RegisterInstance<ChangeStore, SqliteChangeStore>();
 }
コード例 #4
0
 public void Configure(MessagingConfiguration toConfigureAgainst, MessageServerConfiguration serverToConfigureAgainst)
 {
     this.Configuration = toConfigureAgainst;
     this.ServerConfiguration = serverToConfigureAgainst;
 }
コード例 #5
0
        public HttpTransportConfiguration(MessagingConfiguration messagingConfiguration)
        {
            Contract.Requires(messagingConfiguration != null);

            this.messagingConfiguration = messagingConfiguration;
        }