mirror of
				https://github.com/chylex/.NET-Community-Toolkit.git
				synced 2025-10-31 00:17:20 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			20 lines
		
	
	
		
			646 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			646 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| // Licensed to the .NET Foundation under one or more agreements.
 | |
| // The .NET Foundation licenses this file to you under the MIT license.
 | |
| // See the LICENSE file in the project root for more information.
 | |
| 
 | |
| using System.Windows.Input;
 | |
| 
 | |
| namespace CommunityToolkit.Mvvm.Input;
 | |
| 
 | |
| /// <summary>
 | |
| /// An interface expanding <see cref="ICommand"/> with the ability to raise
 | |
| /// the <see cref="ICommand.CanExecuteChanged"/> event externally.
 | |
| /// </summary>
 | |
| public interface IRelayCommand : ICommand
 | |
| {
 | |
|     /// <summary>
 | |
|     /// Notifies that the <see cref="ICommand.CanExecute"/> property has changed.
 | |
|     /// </summary>
 | |
|     void NotifyCanExecuteChanged();
 | |
| }
 | 
