improve: Propagate DataStream exceptions via ErrorChanged event
This commit is contained in:
1 parent
60af47c4eb
commit
2c1b7b95a4
4 files changed
+150
-57
No files matched your search
@@ -1,11 +1,9 @@
|
||||
using System;
|
||||
|
||||
using BCG.Utilities;
|
||||
|
||||
using Bts.DataStream;
|
||||
|
||||
using mbts.config;
|
||||
|
||||
using System;
|
||||
|
||||
namespace BCG
|
||||
{
|
||||
/// <summary>
|
||||
@@ -17,14 +15,26 @@ namespace BCG
|
||||
protected bool myUseUncopiedNewRowsInFireEvent =
|
||||
Configuration.get<DataStreamConfig>().UseUncopiedNewRowsInFire;
|
||||
|
||||
string streamName;
|
||||
|
||||
public ViewStream (ViewStream sourceStream)
|
||||
:
|
||||
base(sourceStream)
|
||||
{}
|
||||
|
||||
public ViewStream(string streamName) {
|
||||
this.streamName = streamName;
|
||||
}
|
||||
|
||||
public ViewStream()
|
||||
{}
|
||||
|
||||
public Guid StreamId { get; } = Guid.NewGuid();
|
||||
|
||||
public string StreamName => streamName
|
||||
?? (myRealSource as ViewStream)?.StreamName
|
||||
?? GetType().Name;
|
||||
|
||||
public IBlueRowCollection rows
|
||||
{
|
||||
get
|
||||
|
||||
Reference in new issue
Block a user