Exemplo n.º 1
0
        public void Record(MessageRecord record)
        {
            if (Type.IsEmpty() && record.Type.IsNotEmpty())
            {
                Type = record.Type;
            }

            _records.Add(record);
        }
Exemplo n.º 2
0
        public void SetUp()
        {
            theToken = ObjectMother.EnvelopeWithMessage().ToToken();
            theToken.ParentId = Guid.NewGuid().ToString();
            theToken.Headers["A"] = "1";
            theToken.Headers["B"] = "2";

            theRecord = new MessageRecord(theToken);
        }
Exemplo n.º 3
0
        public void Record(MessageRecord record)
        {
            if (Type.IsEmpty() && record.Type.IsNotEmpty())
            {
                Type = record.Type;
            }

            _records.Add(record);
        }