コード例 #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);
            }
        }
コード例 #2
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);
            }
        }
コード例 #3
0
 public static string GetMessageTypeFullName(this IProcessedCommandLinkReply processedCommandLinkReply)
 {
     return(processedCommandLinkReply.MessageReference.Value.Parent.Namespace + "." + processedCommandLinkReply.MessageReference.Value.CodeIdentifier);
 }