更新整理
This commit is contained in:
@@ -6,7 +6,7 @@ namespace WPFluent.Input;
|
||||
/// An interface expanding <see cref="ICommand"/> with the ability to raise the <see cref="ICommand.CanExecuteChanged"/>
|
||||
/// event externally.
|
||||
/// </summary>
|
||||
public interface IRelayCommand : ICommand
|
||||
internal interface IRelayCommand : ICommand
|
||||
{
|
||||
/// <summary>
|
||||
/// Notifies that the <see cref="ICommand.CanExecute"/> property has changed.
|
||||
|
||||
@@ -6,7 +6,7 @@ namespace WPFluent.Input;
|
||||
/// A generic interface representing a more specific version of <see cref="IRelayCommand"/>.
|
||||
/// </summary>
|
||||
/// <typeparam name="T">The type used as argument for the interface methods.</typeparam>
|
||||
public interface IRelayCommand<in T> : IRelayCommand
|
||||
internal interface IRelayCommand<in T> : IRelayCommand
|
||||
{
|
||||
/// <summary>
|
||||
/// Provides a strongly-typed variant of <see cref="ICommand.CanExecute(object)"/>.
|
||||
|
||||
@@ -1,13 +1,4 @@
|
||||
|
||||
|
||||
|
||||
/* 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.
|
||||
|
||||
This file is inspired by the MvvmLight library (lbugnion/MvvmLight) */
|
||||
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace WPFluent.Input;
|
||||
|
||||
@@ -17,7 +8,7 @@ namespace WPFluent.Input;
|
||||
/// parameters in the <see cref="Execute(T)"/> and <see cref="CanExecute(T)"/> callback methods.
|
||||
/// </summary>
|
||||
/// <typeparam name="T">The type of parameter being passed as input to the callbacks.</typeparam>
|
||||
public class RelayCommand<T> : IRelayCommand<T>
|
||||
internal class RelayCommand<T> : IRelayCommand<T>
|
||||
{
|
||||
/// <summary>
|
||||
/// The optional action to invoke when <see cref="CanExecute(T)"/> is used.
|
||||
|
||||
Reference in New Issue
Block a user