메소드 | 설명 | |
---|---|---|
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 |