C# Class Host.VM.IsDirtyConfigItemApply

Handles an ICommand and an array of INotifySelectionChanged objects. This class keeps track of the selected object among its array. When the selected changes, the button is enabled. otherwise it is disabled. Note : if no objects are linked, works as a simple button triggering the action set as parameter of the constructor.
Inheritance: ConfigItemAction
显示文件 Open project: Invenietis/ck-certified Class Usage Examples

Public Methods

Method Description
IsDirtyConfigItemApply ( ConfigManager configManager, ICommand cmd, Func getIsDirty ) : System
UpdateIsEnabled ( ) : void

Method Details

IsDirtyConfigItemApply() public method

public IsDirtyConfigItemApply ( ConfigManager configManager, ICommand cmd, Func getIsDirty ) : System
configManager ConfigManager
cmd ICommand
getIsDirty Func
return System

UpdateIsEnabled() public method

public UpdateIsEnabled ( ) : void
return void