88
99namespace ChinesePinyinIntelliSenseExtender . Intellisense . SyncCompletion ;
1010
11- [ DebuggerDisplay ( "{_origin.DisplayText,nq} [{MatchText,nq}] " ) ]
11+ [ DebuggerDisplay ( "{_origin.DisplayText,nq}" ) ]
1212internal class IdeographCompletion : Completion , IIdeographCompletion
1313{
1414 #region Private 字段
@@ -27,25 +27,22 @@ internal class IdeographCompletion : Completion, IIdeographCompletion
2727
2828 public override string InsertionText { get => _origin . InsertionText ; set => _origin . InsertionText = value ; }
2929
30- public string MatchText { get ; }
31-
3230 public override PropertyCollection Properties => _origin . Properties ;
3331
3432 #endregion Public 属性
3533
3634 #region Public 构造函数
3735
38- public IdeographCompletion ( string displayText , string matchText , Completion origin )
36+ public IdeographCompletion ( string displayText , Completion origin )
3937 {
4038 DisplayText = displayText ;
41- MatchText = matchText ;
4239 _origin = origin ;
4340 }
4441
4542 #endregion Public 构造函数
4643}
4744
48- [ DebuggerDisplay ( "{_origin.DisplayText,nq} [{MatchText,nq}] " ) ]
45+ [ DebuggerDisplay ( "{_origin.DisplayText,nq}" ) ]
4946internal class IdeographCompletion2 : Completion2 , IIdeographCompletion
5047{
5148 #region Private 字段
@@ -66,25 +63,22 @@ internal class IdeographCompletion2 : Completion2, IIdeographCompletion
6663
6764 public override string InsertionText { get => _origin . InsertionText ; set => _origin . InsertionText = value ; }
6865
69- public string MatchText { get ; }
70-
7166 public override PropertyCollection Properties => _origin . Properties ;
7267
7368 #endregion Public 属性
7469
7570 #region Public 构造函数
7671
77- public IdeographCompletion2 ( string displayText , string matchText , Completion2 origin )
72+ public IdeographCompletion2 ( string displayText , Completion2 origin )
7873 {
7974 DisplayText = displayText ;
80- MatchText = matchText ;
8175 _origin = origin ;
8276 }
8377
8478 #endregion Public 构造函数
8579}
8680
87- [ DebuggerDisplay ( "{_origin.DisplayText,nq} [{MatchText,nq}] " ) ]
81+ [ DebuggerDisplay ( "{_origin.DisplayText,nq}" ) ]
8882internal class IdeographCompletion3 : Completion3 , IIdeographCompletion
8983{
9084 #region Private 字段
@@ -107,25 +101,22 @@ internal class IdeographCompletion3 : Completion3, IIdeographCompletion
107101
108102 public override string InsertionText { get => _origin . InsertionText ; set => _origin . InsertionText = value ; }
109103
110- public string MatchText { get ; }
111-
112104 public override PropertyCollection Properties => _origin . Properties ;
113105
114106 #endregion Public 属性
115107
116108 #region Public 构造函数
117109
118- public IdeographCompletion3 ( string displayText , string matchText , Completion3 origin )
110+ public IdeographCompletion3 ( string displayText , Completion3 origin )
119111 {
120112 DisplayText = displayText ;
121- MatchText = matchText ;
122113 _origin = origin ;
123114 }
124115
125116 #endregion Public 构造函数
126117}
127118
128- [ DebuggerDisplay ( "{_origin.DisplayText,nq} [{MatchText,nq}] " ) ]
119+ [ DebuggerDisplay ( "{_origin.DisplayText,nq}" ) ]
129120internal class IdeographCompletion4 : Completion4 , IIdeographCompletion
130121{
131122 #region Private 字段
@@ -148,28 +139,114 @@ internal class IdeographCompletion4 : Completion4, IIdeographCompletion
148139
149140 public override string InsertionText { get => _origin . InsertionText ; set => _origin . InsertionText = value ; }
150141
151- public string MatchText { get ; }
152-
153142 public override PropertyCollection Properties => _origin . Properties ;
154143
155144 #endregion Public 属性
156145
157146 #region Public 构造函数
158147
159- public IdeographCompletion4 ( string displayText , string suffix , string matchText , Completion4 origin )
148+ public IdeographCompletion4 ( string displayText , string suffix , Completion4 origin )
160149 : base ( displayText : null , insertionText : null , description : null , iconMoniker : default , suffix : suffix )
161150 {
162151 DisplayText = displayText ;
163- MatchText = matchText ;
164152 _origin = origin ;
165153 }
166154
167- public IdeographCompletion4 ( string displayText , string matchText , Completion4 origin )
155+ public IdeographCompletion4 ( string displayText , Completion4 origin )
168156 {
169157 DisplayText = displayText ;
170- MatchText = matchText ;
171158 _origin = origin ;
172159 }
173160
174161 #endregion Public 构造函数
175162}
163+
164+ #region Matchable
165+
166+ [ DebuggerDisplay ( "{_origin.DisplayText,nq} [{MatchText,nq}]" ) ]
167+ internal class IdeographMatchableCompletion : IdeographCompletion , IIdeographMatchableCompletion
168+ {
169+ #region Public 属性
170+
171+ public string MatchText { get ; }
172+
173+ #endregion Public 属性
174+
175+ #region Public 构造函数
176+
177+ public IdeographMatchableCompletion ( string displayText , string matchText , Completion origin )
178+ : base ( displayText , origin )
179+ {
180+ MatchText = matchText ;
181+ }
182+
183+ #endregion Public 构造函数
184+ }
185+
186+ [ DebuggerDisplay ( "{_origin.DisplayText,nq} [{MatchText,nq}]" ) ]
187+ internal class IdeographMatchableCompletion2 : IdeographCompletion2 , IIdeographMatchableCompletion
188+ {
189+ #region Public 属性
190+
191+ public string MatchText { get ; }
192+
193+ #endregion Public 属性
194+
195+ #region Public 构造函数
196+
197+ public IdeographMatchableCompletion2 ( string displayText , string matchText , Completion2 origin )
198+ : base ( displayText , origin )
199+ {
200+ MatchText = matchText ;
201+ }
202+
203+ #endregion Public 构造函数
204+ }
205+
206+ [ DebuggerDisplay ( "{_origin.DisplayText,nq} [{MatchText,nq}]" ) ]
207+ internal class IdeographMatchableCompletion3 : IdeographCompletion3 , IIdeographMatchableCompletion
208+ {
209+ #region Public 属性
210+
211+ public string MatchText { get ; }
212+
213+ #endregion Public 属性
214+
215+ #region Public 构造函数
216+
217+ public IdeographMatchableCompletion3 ( string displayText , string matchText , Completion3 origin )
218+ : base ( displayText , origin )
219+ {
220+ MatchText = matchText ;
221+ }
222+
223+ #endregion Public 构造函数
224+ }
225+
226+ [ DebuggerDisplay ( "{_origin.DisplayText,nq} [{MatchText,nq}]" ) ]
227+ internal class IdeographMatchableCompletion4 : IdeographCompletion4 , IIdeographMatchableCompletion
228+ {
229+ #region Public 属性
230+
231+ public string MatchText { get ; }
232+
233+ #endregion Public 属性
234+
235+ #region Public 构造函数
236+
237+ public IdeographMatchableCompletion4 ( string displayText , string suffix , string matchText , Completion4 origin )
238+ : base ( displayText , suffix , origin )
239+ {
240+ MatchText = matchText ;
241+ }
242+
243+ public IdeographMatchableCompletion4 ( string displayText , string matchText , Completion4 origin )
244+ : base ( displayText , origin )
245+ {
246+ MatchText = matchText ;
247+ }
248+
249+ #endregion Public 构造函数
250+ }
251+
252+ #endregion Matchable
0 commit comments