Метод | Описание | |
---|---|---|
ReceiveWeakEvent ( |
Receives events from the centralized event manager.
|
|
StartSynchronizing ( ) : void |
Starts synchronizing the lists.
|
|
StopSynchronizing ( ) : void |
Stop synchronizing the lists.
|
|
TwoListSynchronizer ( IList masterList, IList targetList ) : System |
Initializes a new instance of the TwoListSynchronizer class.
|
|
TwoListSynchronizer ( IList masterList, IList targetList, IListItemConverter masterTargetConverter ) : System |
Initializes a new instance of the TwoListSynchronizer class.
|
Метод | Описание | |
---|---|---|
ListenForChangeEvents ( IList list ) : void |
Listens for change events on a list.
|
|
StopListeningForChangeEvents ( IList list ) : void |
Stops listening for change events.
|
Метод | Описание | |
---|---|---|
AddItems ( IList list, |
||
ConvertFromMasterToTarget ( object masterListItem ) : object | ||
ConvertFromTargetToMaster ( object targetListItem ) : object | ||
HandleCollectionChanged ( object sender, |
||
MoveItems ( IList list, |
||
PerformActionOnAllLists ( ChangeListAction action, IList sourceList, |
||
PerformActionOnList ( IList list, ChangeListAction action, |
||
RemoveItems ( IList list, |
||
ReplaceItems ( IList list, |
||
SetListValuesFromSource ( IList sourceList, IList targetList, object>.Converter | ||
TargetAndMasterCollectionsAreEqual ( ) : bool | ||
UpdateListsFromSource ( IList sourceList ) : void |
Makes sure that all synchronized lists have the same values as the source list.
|
protected ListenForChangeEvents ( IList list ) : void | ||
list | IList | The list to listen to. |
Результат | void |
public ReceiveWeakEvent ( |
||
managerType | The type of the |
|
sender | object | Object that originated the event. |
e | Event data. | |
Результат | bool |
protected StopListeningForChangeEvents ( IList list ) : void | ||
list | IList | The list to stop listening to. |
Результат | void |
public TwoListSynchronizer ( IList masterList, IList targetList ) : System | ||
masterList | IList | The master list. |
targetList | IList | The target list. |
Результат | System |
public TwoListSynchronizer ( IList masterList, IList targetList, IListItemConverter masterTargetConverter ) : System | ||
masterList | IList | The master list. |
targetList | IList | The target list. |
masterTargetConverter | IListItemConverter | The master-target converter. |
Результат | System |