Click or drag to resize
weroSoft AG, Software
DeleteItemsCommandT Class
The documentation is integral part of the weroSoft product documentation. This part is intended to be used by developers only.
Represents the command that allow to delete a list of items with pause and cancel options.

If some items could not have been deleted the amount of them is reported at the end of the execution.

Inheritance Hierarchy
SystemObject
  WeroSoft.WindowsDelegatingCommand
    WeroSoft.Triton.DesktopProgressCommand
      WeroSoft.Triton.DesktopDeleteItemsCommandT

Namespace:  WeroSoft.Triton.Desktop
Assembly:  WeroSoft.Triton.Desktop.Library (in WeroSoft.Triton.Desktop.Library.dll) Version: 3.0 Pre-Release
Syntax
C#
public class DeleteItemsCommand<T> : ProgressCommand

Type Parameters

T
The type of object to delete.

The DeleteItemsCommandT type exposes the following members.

Constructors
  NameDescription
Public methodDeleteItemsCommandT
Initializes a new instance of the DeleteItemsCommandT class
Top
Properties
  NameDescription
Public propertyDelegateCanExecute
Holds the delegate of the method to be used to check the execution of the command.
(Inherited from DelegatingCommand.)
Public propertyDelegateExecute
Holds the delegate of the method to be executed by the command.
(Inherited from DelegatingCommand.)
Protected propertyIsProgressRunning
Gets whether progress is currently running.
(Inherited from ProgressCommand.)
Protected propertyProgressInfoOpen
Gets the progress info.
(Inherited from ProgressCommand.)
Top
Methods
  NameDescription
Public methodCancel
Cancel the progress.
(Inherited from ProgressCommand.)
Public methodCanExecute
Defines the method that determines whether the command can execute in its current state.
(Inherited from DelegatingCommand.)
Public methodContinue
Continue the progress.
(Inherited from ProgressCommand.)
Public methodDelete
Delete a list of items and reports the progress.
Public methodDispose
Disposes the generator object.
(Inherited from ProgressCommand.)
Protected methodDispose(Boolean)
Called during disposing the class.
(Inherited from ProgressCommand.)
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.
(Inherited from DelegatingCommand.)
Protected methodFinalize
Destructor of the class.
(Inherited from ProgressCommand.)
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.
(Inherited from DelegatingCommand.)
Protected methodOpenShowAbsolute
Open a progress as absolute but only if enough items to show.
(Inherited from ProgressCommand.)
Protected methodOpenShowPercentage
Open a progress as percentage but only if enough items to show.
(Inherited from ProgressCommand.)
Public methodPause
Pause the progress.
(Inherited from ProgressCommand.)
Protected methodReset
Reset guard and close the progress if it was opened.
(Inherited from ProgressCommand.)
Protected methodShowProgressAbsolute
Update the progress.
(Inherited from ProgressCommand.)
Protected methodShowProgressPercentage
Update the progress bar.
(Inherited from ProgressCommand.)
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.
(Inherited from DelegatingCommand.)
Top
Fields
  NameDescription
Protected fieldPausedGuard
Used to block and release the working thread.
(Inherited from ProgressCommand.)
Protected fieldShowProgress
Gets whether a progress is shown or not.
(Inherited from ProgressCommand.)
Protected fieldStop
True when the work shall be stopped.
(Inherited from ProgressCommand.)
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