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
using System; | |
using System.Runtime.Serialization; | |
namespace FubuTransportation.Sagas.Concurrency | |
{ | |
/* NOTES | |
* | |
* Add a new interface called IStatefulSaga to make things easier | |
* Add a new interface called IConcurrencyRule that will throw SagaConcurrencyException to abort the current | |
* TX and queued up outgoing messages if a concurrency violation is detected. |
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
No default instance is specified. The current configuration for type StructureMap.Testing.Blogposts.Diagnostics.IDevice is: | |
======================================================================================================================================= | |
PluginType Namespace Lifecycle Description Name | |
--------------------------------------------------------------------------------------------------------------------------------------- | |
IDevice StructureMap.Testing.Blogposts.Diagnostics | |
Transient StructureMap.Testing.Blogposts.Diagnostics.ADevice | |
Transient StructureMap.Testing.Blogposts.Diagnostics.BDevice | |
================================================================================= |
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
StructureMap.StructureMapConfigurationException : No default Instance is registered and cannot be automatically determined for type 'StructureMap.Testing.Blogposts.Diagnostics.IDevice' | |
There is no configuration specified for StructureMap.Testing.Blogposts.Diagnostics.IDevice | |
1.) new DeviceUser(*Default of IDevice*) | |
2.) StructureMap.Testing.Blogposts.Diagnostics.DeviceUser | |
3.) Instance of StructureMap.Testing.Blogposts.Diagnostics.DeviceUser | |
4.) new DeviceUserUser(*Default of DeviceUser*) | |
5.) StructureMap.Testing.Blogposts.Diagnostics.DeviceUserUser | |
6.) Instance of StructureMap.Testing.Blogposts.Diagnostics.DeviceUserUser |
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
StructureMap.Building.StructureMapBuildException : Error while building type StructureMap.Testing.Blogposts.Diagnostics.BadDecorator. See the inner exception for details | |
1.) new BadDecorator(The inner IDevice) | |
2.) Decorator of type StructureMap.Testing.Blogposts.Diagnostics.BadDecorator | |
3.) StructureMap.Testing.Blogposts.Diagnostics.ADevice | |
4.) Instance of StructureMap.Testing.Blogposts.Diagnostics.IDevice (StructureMap.Testing.Blogposts.Diagnostics.ADevice) | |
5.) new DeviceUser(*Default of IDevice*) | |
6.) StructureMap.Testing.Blogposts.Diagnostics.DeviceUser | |
7.) Instance of StructureMap.Testing.Blogposts.Diagnostics.DeviceUser | |
8.) new DeviceUserUser(*Default of DeviceUser*) | |
9.) StructureMap.Testing.Blogposts.Diagnostics.DeviceUserUser |
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
============================================================================================================================================================== | |
PluginType Namespace Lifecycle Description Name | |
-------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
Func<TResult> System Transient Open Generic Template for Func<> (Default) | |
-------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
IContainer StructureMap Singleton Object: StructureMap.Container (Default) | |
---------------------------------------------------------------------- |
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
StructureMap.StructureMapConfigurationException : StructureMap Failures: 1 Build/Configuration Failures and 0 Validation Errors | |
Profile 'DEFAULT' | |
----------------------------------------------------------------------------------------------------- | |
Build Error on Instance 'StructureMap.Testing.Blogposts.Diagnostics.DeviceUserUser' | |
for PluginType StructureMap.Testing.Blogposts.Diagnostics.DeviceUserUser | |
No default Instance is registered and cannot be automatically determined for type 'StructureMap.Testing.Blogposts.Diagnostics.IDevice' | |
There is no configuration specified for StructureMap.Testing.Blogposts.Diagnostics.IDevice |
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
This is the shallow representation | |
PluginType: StructureMap.Testing.Blogposts.Diagnostics.DeviceUserUser | |
Lifecycle: Transient | |
new DeviceUserUser(DeviceUser) | |
┗ DeviceUser = **Default** | |
This is the recursive representation | |
PluginType: StructureMap.Testing.Blogposts.Diagnostics.DeviceUserUser | |
Lifecycle: Transient | |
new DeviceUserUser(DeviceUser) |
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
/* | |
ASSUMPTIONS: | |
- We want the definition of the projection to be "mobile", meaning that it could be executed | |
either in a PLV8 function in Postgresql, a Node.js web or console application, or anything that can host JS. | |
Even the browser I suppose if we ever wanted to do historical "replay" like Josh & I did on our Firefly | |
project | |
- I'm assuming that we can make a super lightweight analogue for Browserify inside of the Postgresql database so | |
we can write all Javascript as Node.js modules |
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
var client = require('pg-events-client'); // just pretend this is what it is | |
/* | |
id is unnecessary if it's a new stream, but obviously required | |
to append to an existing stream | |
streamType is quasi necessary just to route events to projections. | |
We can build an "Options" that allows | |
you to specify a default streamType if it's undefined |
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
================================================================================================================================================= | |
PluginType Namespace Lifecycle Description Name | |
------------------------------------------------------------------------------------------------------------------------------------------------- | |
Func<TResult> System Transient Open Generic Template for Func<> (Default) | |
------------------------------------------------------------------------------------------------------------------------------------------------- | |
Func<T, TResult> System Transient Open Generic Template for Func<,> (Default) | |
------------------------------------------------------------------------------------------------------------------------------------------------- | |
IC |
OlderNewer