Generated by DocFX

Interface IRelayCommand<T>

A generic interface representing a more specific version of IRelayCommand.

Inherited Members
IRelayCommand.NotifyCanExecuteChanged()
Namespace: ISynergy.Framework.Mvvm.Abstractions.Commands
Assembly: ISynergy.Framework.Mvvm.dll
Syntax
public interface IRelayCommand<in T> : IRelayCommand
Type Parameters
Name Description
T

The type used as argument for the interface methods.

Methods

View Source

CanExecute(T)

Provides a strongly-typed variant of .

Declaration
bool CanExecute(T parameter)
Parameters
Type Name Description
T parameter

The input parameter.

Returns
Type Description
System.Boolean

Whether or not the current command can be executed.

Remarks

Use this overload to avoid boxing, if T is a value type.

View Source

Execute(T)

Provides a strongly-typed variant of .

Declaration
void Execute(T parameter)
Parameters
Type Name Description
T parameter

The input parameter.

Remarks

Use this overload to avoid boxing, if T is a value type.

Extension Methods

Matrix.Replace<T>(T, Object, Object)
Matrix.IsEqual(Object, Object, Decimal, Decimal)
EntityBaseExtensions.HasProperty(Object, String)
ArrayExtensions.Concatenate<T>(T, T[])
CollectionExtensions.FromHierarchy<TSource>(TSource, Func<TSource, TSource>, Func<TSource, Boolean>)
CollectionExtensions.FromHierarchy<TSource>(TSource, Func<TSource, TSource>)
ObjectExtensions.Clone<T>(T)
ObjectExtensions.To<T>(Object)
ObjectExtensions.To(Object, Type)
ObjectExtensions.HasMethod(Object, String)
ObjectExtensions.AddressOf<T>(T)
ReflectionExtensions.GetIdentityValue<T>(T)
ReflectionExtensions.GetIdentityValue<T, TResult>(T)
ReflectionExtensions.GetIdentityProperty<T>(T)
ReflectionExtensions.HasIdentityProperty<T>(T)
ReflectionExtensions.GetPropertyValue<T, TResult>(T, String, TResult)
ReflectionExtensions.GetPropertyInfo<T, TValue>(T, Expression<Func<T, TValue>>)
ReflectionExtensions.GetTitleValue<T>(T)
ReflectionExtensions.HasParentIdentityProperty<T>(T)
ReflectionExtensions.GetParentIdentityProperty<T>(T)
ReflectionExtensions.IsFreeApplication<T>(T)