예제 #1
0
        /// <summary>
        /// 次セクション生成
        /// </summary>
        /// <param name="p_invocation"></param>
        private void Next(ViewModel.IShellInvocation p_invocation)
        {
            var l_section = new InvocationSection(this, p_invocation);

            this.Document.Blocks.Add(l_section);

            if (l_section.CanEditing)
            {
                this.currentSection = l_section;
                this.CaretPosition  = l_section.Editor.ContentEnd;
            }
        }
예제 #2
0
        private void Next(IPowerShellInvocation invocation)
        {
            var section = new InvocationSection(this, invocation);

            this.Document.Blocks.Add(section);

            if (section.CanEditing)
            {
                this._currentSection = section;
                this.CaretPosition   = section.Editor.ContentEnd;
            }
        }