File tree Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -164,9 +164,9 @@ private void SetupCommands ()
164
164
165
165
if ( SuperView is { } )
166
166
{
167
- Logging . Debug ( $ "{ Title } ({ ctx ? . Source ? . Title } ) - Invoking { ctx ! . Command } on SuperView ({ SuperView . Title } /{ SuperView . Id } )...") ;
167
+ Logging . Debug ( $ "{ Title } ({ ctx ? . Source ? . Title } ) - Invoking { Command . Accept } on SuperView ({ SuperView . Title } /{ SuperView . Id } )...") ;
168
168
169
- return SuperView ? . InvokeCommand ( ctx ! . Command , ctx ) ;
169
+ return SuperView ? . InvokeCommand ( Command . Accept , ctx ) ;
170
170
}
171
171
}
172
172
@@ -280,17 +280,17 @@ public interface IDefaultAcceptView
280
280
// If the event is not canceled by the virtual method, raise the event to notify any external subscribers.
281
281
Activating ? . Invoke ( this , args ) ;
282
282
283
- // Activate is a special case where if the event is not canceled, the event is
284
- // - propagated up the SuperView hierarchy.
285
- if ( ! args . Handled )
286
- {
287
- if ( SuperView is { } )
288
- {
289
- Logging . Debug ( $ "{ Title } ({ ctx ? . Source ? . Title } ) - Invoking { ctx ! . Command } on SuperView ({ SuperView . Title } /{ SuperView . Id } )...") ;
290
-
291
- return SuperView ? . InvokeCommand ( ctx ! . Command , ctx ) ;
292
- }
293
- }
283
+ //// Activate is a special case where if the event is not canceled, the event is
284
+ //// - propagated up the SuperView hierarchy.
285
+ // if (!args.Handled)
286
+ // {
287
+ // if (SuperView is { })
288
+ // {
289
+ // Logging.Debug ($"{Title} ({ctx?.Source?.Title}) - Invoking {ctx!.Command} on SuperView ({SuperView.Title}/{SuperView.Id})...");
290
+
291
+ // return SuperView?.InvokeCommand (ctx!.Command, ctx);
292
+ // }
293
+ // }
294
294
295
295
return Activating is null ? null : args . Handled ;
296
296
}
You can’t perform that action at this time.
0 commit comments