mkajerski / bbvcommon Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/bbvcommon
Automatically exported from code.google.com/p/bbvcommon
documentation from source forge wiki
and from word documents
Original issue reported on code.google.com by [email protected]
on 22 May 2010 at 9:54
What steps will reproduce the problem?
1. Write a subscriber something along the following
[EventSubscription(EventTopics.MyEvent,
typeof(bbv.Common.EventBroker.Handlers.UserInterface))]
Where you are asking the eventbroker to run in the UI thread
2.
Write an Event publisher that generates the event
[EventPublication(EventTopics.MyEvent)]
public event EventHandler AnEvent;
What is the expected output? What do you see instead?
The expected is that the delegate will run in the UI thread.. .instead it runs
in the event broker's thread and causes an exception
What version of the product are you using?
Current as of 2/27/2011
On what operating system?
Windows XP
Please provide any additional information below.
It appears the method in userinterface.cs below does not do as intended:
Thanks
private Exception CallWithThreadSwitch(Delegate subscriptionHandler, object
sender, EventArgs e)
{
Exception exception = null;
this.syncContextHolder.SyncContext.Send(
delegate(object data)
{
try
{
((Delegate)data).DynamicInvoke(sender, e);
}
catch (TargetInvocationException ex)
{
exception = ex;
}
},
subscriptionHandler);
return exception;
}
Original issue reported on code.google.com by [email protected]
on 3 Mar 2011 at 7:22
AsyncResultTest.TestLifeTimeService (bbv.Common.Test.dll: bbv.Common.Async)
Test history
Assign responsibility
Open in IDE
Expected: greater than or equal to 00:00:00
But was: -00:00:00.0056250
at NUnit.Framework.Assert.That(Object actual, IResolveConstraint expression, String message, Object[] args)
Original issue reported on code.google.com by [email protected]
on 2 Aug 2010 at 6:50
document differences in behaviour
Original issue reported on code.google.com by [email protected]
on 22 May 2010 at 10:54
logger is now an extension
Original issue reported on code.google.com by [email protected]
on 22 May 2010 at 11:05
Add:
In(State.A)
.HandleStateException(exception => return whetherExceptionIsHandled)
.On(Events.B).Goto(States.B)
.HandleTransitionException(exception => return handled);
Original issue reported on code.google.com by [email protected]
on 8 Jul 2010 at 1:24
Thread joining is encapsulated with a time-out.
If the time-out hits in then there may be a bug that results in a
OutOfRangeException. Therefore add a log message to pin down the problem
Original issue reported on code.google.com by [email protected]
on 7 Jul 2010 at 8:36
The following code fails when NotifyStopped was executed before (this can
happen in time-out cases)
for (int i = 0; i < this.numberOfThreads; i++)
{
if (this.messageConsumerThreads[i].IsAlive)
{
this.messageConsumerThreads[i].Join();
}
}
Add a check.
Original issue reported on code.google.com by [email protected]
on 7 Jul 2010 at 8:38
update docu to relfect changes with extensions
Original issue reported on code.google.com by [email protected]
on 22 May 2010 at 11:06
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.