コード例 #1
0
        private void ParseMethodBlock(SequenceDiagramComposite composite, SDBlock block)
        {
            var sequenceDiagramBlock = composite.AddBlock(block.Expression);

            foreach (var statement in block.Statements)
            {
                ParseCall(statement, sequenceDiagramBlock);
            }
        }
コード例 #2
0
        private SDBlock CreateBlock(string expression, string role)
        {
            var token = new SDBlock
            {
                Expression = expression,
                Role       = role
            };

            return(token);
        }