From fe53eb2811b740bea7f06942dc31f3c5cecd20e3 Mon Sep 17 00:00:00 2001 From: zewen han Date: Mon, 30 May 2022 15:44:43 +0800 Subject: [PATCH] =?UTF-8?q?ssget=20=E6=9A=B4=E9=9C=B2pso?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/IFoxCAD.Cad/ExtensionMethod/EditorEx.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/IFoxCAD.Cad/ExtensionMethod/EditorEx.cs b/src/IFoxCAD.Cad/ExtensionMethod/EditorEx.cs index ec780df..d857fd2 100644 --- a/src/IFoxCAD.Cad/ExtensionMethod/EditorEx.cs +++ b/src/IFoxCAD.Cad/ExtensionMethod/EditorEx.cs @@ -53,9 +53,9 @@ public static SelectionSet SelectByLineWeight(this Editor editor, LineWeight lin return res.Value; } - public static PromptSelectionResult? SSGet(this Editor editor, string? mode = null, SelectionFilter? filter = null, string[]? messages = null, Dictionary? keywords = null) + public static PromptSelectionResult? SSGet(this Editor editor, PromptSelectionOptions? promptSelectionOptions = null, string? mode = null, SelectionFilter? filter = null, string[]? messages = null, Dictionary? keywords = null) { - var pso = new PromptSelectionOptions(); + var pso = promptSelectionOptions ?? new PromptSelectionOptions(); PromptSelectionResult? ss = null; if (mode is not null) { -- Gitee