/// <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; } }
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; } }