PureCat.Message.Internals.DefaultTaggedTransaction.Bind C# (CSharp) Method

Bind() public method

public Bind ( string tag, string childMessageId, string title = null ) : void
tag string
childMessageId string
title string
return void
        public void Bind(string tag, string childMessageId, string title = null)
        {
            IEvent @event = new DefaultEvent(PureCatConstants.TYPE_REMOTE_CALL, "Tagged");

            @event.AddData(childMessageId, title ?? $"{Type}:{Name}");
            @event.Timestamp = Timestamp;
            @event.Status = PureCatConstants.SUCCESS;
            @event.Complete();

            AddChild(@event);
        }