예제 #1
0
            public IEnumerable <CommandEntry> GetCommandEntries(ForeignKeyBox foreignKeyBox)
            {
                yield return(Commands.Lookup.Bind(ExecLookup, CanExecLookup));

                yield return(Commands.ClearValue.Bind(ExecClearValue, CanExecClearValue, new KeyGesture(Key.Delete)));
            }
예제 #2
0
 private static IEnumerable <CommandEntry> GetCommandEntries(ICommandService commandService, ForeignKeyBox foreignKeyBox)
 {
     return(commandService.GetCommandEntries(foreignKeyBox));
 }