示例#1
0
        public void Record(MessageRecord record)
        {
            if (Type.IsEmpty() && record.Type.IsNotEmpty())
            {
                Type = record.Type;
            }

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

            theRecord = new MessageRecord(theToken);
        }
示例#3
0
        public void Record(MessageRecord record)
        {
            if (Type.IsEmpty() && record.Type.IsNotEmpty())
            {
                Type = record.Type;
            }

            _records.Add(record);
        }