npantarhei.runtime.operations.Map_message_to_input_ports.Inject C# (CSharp) Méthode

Inject() public méthode

public Inject ( List streams ) : void
streams List
Résultat void
        public void Inject(List<IStream> streams)
        {
            _streams = streams;
        }

Usage Example

        public void Unknow_port_to_map()
        {
            var sut = new Map_message_to_input_ports();

            List<IStream> streams = new List<IStream>();
            sut.Inject(streams);

            Assert.Throws(typeof(InvalidOperationException),
                          () => sut.Process(new Message("b", "some data")));
        }
All Usage Examples Of npantarhei.runtime.operations.Map_message_to_input_ports::Inject
Map_message_to_input_ports