refactor: Get rid of ViewStream.rows prop

It was causing weird side effects in debugger
This commit is contained in:
John Colvin committed 2026-01-10 12:59:14 -05:00
1 parent 327665b4c3
commit bb5ea19f69
8 files changed
+59 -82

No files matched your search

@@ -32,37 +32,6 @@ namespace BCG
?? (myRealSource as ViewStream)?.StreamName
?? GetType().Name;
public IBlueRowCollection rows
{
get
{
if (myRealSource != null)
{
// BlueEventLog.logAssert (myRealSource is ViewStream);
return (myRealSource as ViewStream).rows;
}
else
{
// used to force a computation of a stream which
// happens to have no subscribers
onChange += new DataStream.ChangeDelegate(myDummy);
try
{
if (myLastValue != null)
return ((DataPacket) myLastValue).newRows;
else
return null;
}
finally
{
onChange -= new DataStream.ChangeDelegate(myDummy);
}
}
}
}
protected override object myGetValueForInitialSubscription()
{
if (myLastValue == null)