Created
May 29, 2015 08:52
-
-
Save RolandPheasant/fad82eb8f4d3937db44d to your computer and use it in GitHub Desktop.
CompositeDataSource required to accept pivot table as an argument
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Change the SubscribeMany line | |
var pivotLoader = _pivotTables.Connect() | |
.SubscribeMany(pivot => pivot.Data.Connect().Synchronize(_updateLocker).Subscribe(changes => PivotDataHasUpdated(pivot,changes))) | |
.Subscribe(); | |
//Change the PivotDataHasUpdated signature | |
public void PivotDataHasUpdated(IDataSource pivotTable, IChangeSet<Record, Guid> changes) | |
{ | |
//... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment