Click or drag to resize
weroSoft AG, Software
DelegatingCommand Class
The documentation is integral part of the weroSoft product documentation. This part is intended to be used by developers only.
Base implementation for a delegating command usable in the MVVM pattern of WPF implementations.
Inheritance Hierarchy
SystemObject
  WeroSoft.WindowsDelegatingCommand
    More...

Namespace:  WeroSoft.Windows
Assembly:  WeroSoft.Windows.Library (in WeroSoft.Windows.Library.dll) Version: 3.0 Pre-Release
Syntax
C#
public class DelegatingCommand : ICommand

The DelegatingCommand type exposes the following members.

Constructors
  NameDescription
Public methodDelegatingCommand
Initializes a new instance of the delegated command.
Top
Properties
  NameDescription
Public propertyDelegateCanExecute
Holds the delegate of the method to be used to check the execution of the command.
Public propertyDelegateExecute
Holds the delegate of the method to be executed by the command.
Top
Methods
  NameDescription
Public methodCanExecute
Defines the method that determines whether the command can execute in its current state.
Public methodStatic memberCanExecuteAlways
Helper method which is used to execute a command always.
Public methodStatic memberCanExecuteNever
Helper method which is used to never execute a command.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodExecute
Defines the method to be called when the command is invoked.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodOnCanExecuteChanged
Raises the event CanExecuteChanged.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventCanExecuteChanged
Occurs when changes occur that affect whether or not the command should execute.
Top
Extension Methods
  NameDescription
Public Extension MethodClone(CloneWorkingMode, IEnumerableType)Overloaded.
Clones an object by serialization.
(Defined by RuntimeExtensions.)
Public Extension MethodCloneT(CloneWorkingMode, IEnumerableType)Overloaded.
Clones an object by serialization.
(Defined by RuntimeExtensions.)
Public Extension MethodConvert (Defined by DataConverterExtensions.)
Public Extension MethodCreateTraceDataEntry(StringBuilder, SourceLevels, TraceableKind, String)Overloaded.
Creates a data entry into a string builder according to the giving parameters.
(Defined by TraceExtensions.)
Public Extension MethodCreateTraceDataEntry(SourceLevels, TraceableKind, String, String, Int32)Overloaded.
Creates a trace entry for a data element.
(Defined by TraceExtensions.)
Public Extension MethodCreateTraceDataEntry(StringBuilder, SourceLevels, TraceableKind, String, String, Int32)Overloaded.
Creates a trace entry into a string builder.
(Defined by TraceExtensions.)
Public Extension MethodDynamicCast
Dynamically casts a reference to another type.
(Defined by TypeManagerHelper.)
Public Extension MethodExtractSystemParametersFromTrigger
Extracts the system parameters from a collection of trigger parameter and transform them to a dictionary using string keys and string values.
(Defined by TriggerExtensions.)
Public Extension MethodGetFieldValue(String)Overloaded.
Gets the data object held by a defined field of a particular type.
(Defined by UnitTest.)
Public Extension MethodGetFieldValueT(String)Overloaded.
Gets the data object held by a defined field of a particular type.
(Defined by UnitTest.)
Public Extension MethodGetPropertyValue(String)Overloaded.
Gets the data object held by a defined property of a particular type.
(Defined by UnitTest.)
Public Extension MethodGetPropertyValueT(String)Overloaded.
Gets the data object held by a defined property of a particular type.
(Defined by UnitTest.)
Public Extension MethodInject(Type, Object)Overloaded.
Injects all fields or properties which are marked with the defined attribute type name.
(Defined by DataInjection.)
Public Extension MethodInject(Type, Object, Boolean)Overloaded.
Injects all fields or properties which are marked with the defined attribute type name.
(Defined by DataInjection.)
Public Extension MethodInjectField
Injects a value to a property within a data object.
(Defined by DataInjection.)
Public Extension MethodInjectProperty(String, Object)Overloaded.
Injects a value to a property within a data object.
(Defined by DataInjection.)
Public Extension MethodInjectProperty(String, Type, Object)Overloaded.
Injects a value to a property within a data object.
(Defined by DataInjection.)
Public Extension MethodInvoke(String, Object)Overloaded.
Invokes a method on an object by reflection.
(Defined by UnitTest.)
Public Extension MethodInvokeTResult(String, Object)Overloaded.
Invokes a method on an object by reflection.
(Defined by UnitTest.)
Public Extension MethodSetFieldValue
Sets the data object on a defined field of a particular type.
(Defined by UnitTest.)
Public Extension MethodSetPropertyValue
Sets the data object on a defined property of a particular type.
(Defined by UnitTest.)
Public Extension MethodSetReadOnlyFieldValue
Sets the data object on a defined field of a particular type.
(Defined by UnitTest.)
Public Extension MethodTryInjectProperty
Tries to Inject a value to a property within a data object.
(Defined by DataInjection.)
Top
See Also
Inheritance Hierarchy
SystemObject
  WeroSoft.WindowsDelegatingCommand
    WeroSoft.Development.ControlsFileSystemCommand
    WeroSoft.Development.ControlsSelectBaseFolderCommand
    WeroSoft.Organization.ManagementSelectContactCommand
    WeroSoft.Triton.Desktop.CommandsTritonManagedCommand
    WeroSoft.Triton.Desktop.ControlsAddParameterCommand
    WeroSoft.Triton.Desktop.ControlsApplyChangesCommand
    WeroSoft.Triton.Desktop.ControlsCancelChangesCommand
    WeroSoft.Triton.Desktop.ControlsDeleteParameterCommand
    WeroSoft.Triton.Desktop.ControlsMoveDownCommand
    WeroSoft.Triton.Desktop.ControlsMoveUpCommand
    WeroSoft.Triton.DesktopProgressCommand
    WeroSoft.Triton.DesktopShowHelpCommand
    WeroSoft.Triton.DesktopValidationCommand
    WeroSoft.Windows.ControlsChangePasswordCommand
    WeroSoft.Windows.ControlsSelectClientAdapterCommand
    WeroSoft.WindowsDelegatingUICommand
    WeroSoft.Workflow.DesktopAddResponsiblePersonCommand
    WeroSoft.Workflow.Desktop.ControlsExecuteWorkflowCommand
    WeroSoft.Workflow.Desktop.ControlsRefreshCommand
    WeroSoft.Workflow.Desktop.ControlsShowDetailsCommand
    WeroSoft.Workflow.DesktopDownloadWorkflowDocumentCommand
    WeroSoft.Workflow.DesktopShowErrorCommand
    WeroSoft.Workflow.DesktopShowWorkflowDocumentCommand