示例#1
0
        private void CreateProcessedCommandLinkReply(IProcessedCommandLinkReply processedCommandLinkReply)
        {
            var messageNode = this.ViewModel.GetOrCreateMessageNode(this.FindViewModel(processedCommandLinkReply.MessageReference.Value.AsElement().Id));

            foreach (var component in this.ViewModel.GetAllComponentsNode(processedCommandLinkReply.Parent.Parent.Parent.AsElement().Id))
            {
                this.ViewModel.GetOrCreateMessageConnection(component, messageNode);
            }
        }
        private void CreateProcessedCommandLinkReply(IProcessedCommandLinkReply processedCommandLinkReply)
        {
            var messageNode = this.ViewModel.GetOrCreateMessageNode(this.FindViewModel(processedCommandLinkReply.MessageReference.Value.AsElement().Id));

            foreach (var component in this.ViewModel.GetAllComponentsNode(processedCommandLinkReply.Parent.Parent.Parent.AsElement().Id))
            {
                this.ViewModel.GetOrCreateMessageConnection(component, messageNode);
            }
        }
 public static string GetMessageTypeFullName(this IProcessedCommandLinkReply processedCommandLinkReply)
 {
     return(processedCommandLinkReply.MessageReference.Value.Parent.Namespace + "." + processedCommandLinkReply.MessageReference.Value.CodeIdentifier);
 }