├── .gitignore ├── BDD.xml ├── LICENSE.txt ├── Solutions └── Symbiote │ ├── Symbiote.5.0.ReSharper │ ├── Symbiote.5.1.ReSharper │ ├── Symbiote.sln │ ├── Symbiote.sln.orig │ ├── Symbiote.userprefs │ └── packages │ ├── Antlr.3.1.3 │ ├── Antlr.3.1.3.nupkg │ └── lib │ │ └── Antlr3.Runtime.dll │ ├── Castle.Core.2.5.1 │ ├── Castle.Core.2.5.1.nupkg │ └── lib │ │ ├── ASL - Apache Software Foundation License.txt │ │ ├── BreakingChanges.txt │ │ ├── Changes.txt │ │ ├── Committers.txt │ │ ├── NET35 │ │ └── Castle.Core.dll │ │ ├── NET40ClientProfile │ │ └── Castle.Core.dll │ │ ├── SL3 │ │ └── Castle.Core.dll │ │ └── SL4 │ │ └── Castle.Core.dll │ ├── FluentNHibernate.1.1.1.694 │ ├── FluentNHibernate.1.1.1.694.nupkg │ └── lib │ │ ├── FluentNHibernate.XML │ │ ├── FluentNHibernate.dll │ │ └── FluentNHibernate.pdb │ ├── Iesi.Collections.1.0.1 │ ├── Iesi.Collections.1.0.1.nupkg │ └── lib │ │ └── Iesi.Collections.dll │ └── NHibernate.Core.3.0.0.2001 │ ├── NHibernate.Core.3.0.0.2001.nupkg │ └── lib │ ├── NHibernate.ByteCode.Castle.dll │ ├── NHibernate.ByteCode.Castle.xml │ ├── NHibernate.dll │ ├── NHibernate.xml │ ├── Remotion.Data.Linq.dll │ ├── nhibernate-configuration.xsd │ └── nhibernate-mapping.xsd ├── build.log ├── demo ├── Hibernate │ └── Hibernate.Demo │ │ ├── Hibernate.Demo.sln │ │ └── Hibernate.Demo │ │ ├── Hibernate.Demo.csproj │ │ ├── Program.cs │ │ └── Properties │ │ └── AssemblyInfo.cs ├── Memcached │ └── MembaseDemo │ │ ├── MembaseDemo.csproj │ │ ├── Program.cs │ │ ├── Properties │ │ └── AssemblyInfo.cs │ │ └── app.config ├── Messaging │ └── LocalMessages │ │ ├── LocalMessages.sln │ │ ├── LocalMessages.userprefs │ │ └── LocalMessages │ │ ├── LocalMessages.csproj │ │ ├── LocalMessages.pidb │ │ ├── Program.cs │ │ ├── Properties │ │ └── AssemblyInfo.cs │ │ └── app.config ├── Minion │ ├── Minion.Host │ │ ├── Host.cs │ │ ├── Minion.Host.csproj │ │ ├── Minion.Host.sln │ │ ├── NotificationHandler.cs │ │ ├── Program.cs │ │ ├── Properties │ │ │ └── AssemblyInfo.cs │ │ ├── Watcher.Test │ │ │ ├── Program.cs │ │ │ ├── Properties │ │ │ │ └── AssemblyInfo.cs │ │ │ └── Watcher.Test.csproj │ │ └── app.config │ ├── Minion.Hosted │ │ ├── CommandHandler.cs │ │ ├── Hosted.cs │ │ ├── Initializer.cs │ │ ├── Minion.Hosted.csproj │ │ ├── Minion.Hosted.sln │ │ ├── Program.cs │ │ ├── Properties │ │ │ └── AssemblyInfo.cs │ │ └── app.config │ ├── Minion.Messages │ │ ├── Minion.Messages.csproj │ │ ├── MinionDoThis.cs │ │ ├── MinionUp.cs │ │ └── Properties │ │ │ └── AssemblyInfo.cs │ ├── New Microsoft Word Document.docx │ └── New Text Document.txt ├── NetGraphDemo │ ├── IHaveGuidKey.cs │ ├── NetGraphDemo.csproj │ ├── NetGraphMgr.cs │ ├── Program.cs │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── TransactionProto.cs │ └── app.config ├── Node │ └── SimpleNode │ │ ├── EdgeNode │ │ ├── EdgeNode.csproj │ │ ├── Program.cs │ │ ├── Properties │ │ │ └── AssemblyInfo.cs │ │ └── app.config │ │ ├── MeshNode │ │ ├── MeshNode.csproj │ │ ├── Program.cs │ │ ├── Properties │ │ │ └── AssemblyInfo.cs │ │ └── app.config │ │ ├── Messages │ │ ├── AccountBalance.cs │ │ ├── DepositIntoAccount.cs │ │ ├── Messages.csproj │ │ ├── OpenNewAccount.cs │ │ ├── Properties │ │ │ └── AssemblyInfo.cs │ │ └── WithdrawFromAccount.cs │ │ ├── Node.Console │ │ ├── Message.cs │ │ ├── MessageHandler.cs │ │ ├── Node.Console.csproj │ │ ├── NodeService.cs │ │ ├── Program.cs │ │ ├── Properties │ │ │ └── AssemblyInfo.cs │ │ └── app.config │ │ ├── SimpleNode.sln │ │ └── packages │ │ ├── Symbiote.Actor.0.1.0.48 │ │ ├── Symbiote.Actor.0.1.0.48.nupkg │ │ └── lib │ │ │ ├── Symbiote.Actor.dll │ │ │ ├── Symbiote.Actor.pdb │ │ │ └── Symbiote.Actor.xml │ │ ├── Symbiote.Core.0.1.0.46 │ │ └── lib │ │ │ └── Symbiote.Core.xml │ │ ├── Symbiote.Core.0.1.0.48 │ │ ├── Symbiote.Core.0.1.0.48.nupkg │ │ └── lib │ │ │ ├── Symbiote.Core.dll │ │ │ ├── Symbiote.Core.pdb │ │ │ └── Symbiote.Core.xml │ │ ├── Symbiote.Daemon.0.1.0.30 │ │ └── lib │ │ │ └── Symbiote.Daemon.xml │ │ ├── Symbiote.Log4Net.0.1.0.31 │ │ └── lib │ │ │ └── Symbiote.Log4Net.xml │ │ ├── Symbiote.Messaging.0.1.0.48 │ │ ├── Symbiote.Messaging.0.1.0.48.nupkg │ │ └── lib │ │ │ ├── Symbiote.Messaging.dll │ │ │ ├── Symbiote.Messaging.pdb │ │ │ └── Symbiote.Messaging.xml │ │ ├── Symbiote.Rabbit.0.1.0.46 │ │ ├── Symbiote.Rabbit.0.1.0.46.nupkg │ │ └── lib │ │ │ ├── Symbiote.Rabbit.dll │ │ │ ├── Symbiote.Rabbit.pdb │ │ │ └── Symbiote.Rabbit.xml │ │ └── Symbiote.StructureMap.0.1.0.31 │ │ └── lib │ │ └── Symbiote.StructureMap.xml ├── Rabbit │ ├── ConsoleApplication1 │ │ ├── ConsoleApplication1.csproj │ │ ├── Program.cs │ │ └── Properties │ │ │ └── AssemblyInfo.cs │ ├── RabbitDemo.Messages │ │ ├── Class1.cs │ │ ├── Properties │ │ │ └── AssemblyInfo.cs │ │ ├── RabbitDemo.Messages.csproj │ │ └── RabbitDemo.Messages.pidb │ ├── RabbitDemo.PubSub.sln │ ├── RabbitDemo.PubSub.userprefs │ ├── RabbitDemo.Publisher │ │ ├── Program.cs │ │ ├── Properties │ │ │ └── AssemblyInfo.cs │ │ ├── RabbitDemo.Publisher.csproj │ │ ├── RabbitDemo.Publisher.pidb │ │ └── app.config │ ├── RabbitDemo.Subscriber │ │ ├── Program.cs │ │ ├── Properties │ │ │ └── AssemblyInfo.cs │ │ ├── RabbitDemo.Subscriber.csproj │ │ ├── RabbitDemo.Subscriber.pidb │ │ └── app.config │ ├── RequestResponse │ │ ├── RequestResponse.sln │ │ └── RequestResponse │ │ │ ├── Program.cs │ │ │ ├── Properties │ │ │ └── AssemblyInfo.cs │ │ │ ├── RequestResponse.csproj │ │ │ └── app.config │ ├── ping-pong │ │ ├── Class1.cs │ │ ├── Properties │ │ │ └── AssemblyInfo.cs │ │ ├── ping-pong.csproj │ │ └── ping-pong.sln │ ├── ping │ │ ├── Program.cs │ │ ├── Properties │ │ │ └── AssemblyInfo.cs │ │ ├── app.config │ │ ├── ping.csproj │ │ └── ping.sln │ ├── pingpong.messages │ │ ├── Ping.cs │ │ ├── Pong.cs │ │ ├── Properties │ │ │ └── AssemblyInfo.cs │ │ └── pingpong.messages.csproj │ └── pong │ │ ├── Program.cs │ │ ├── Properties │ │ └── AssemblyInfo.cs │ │ ├── app.config │ │ └── pong.csproj ├── Redis │ └── RedisDemo │ │ ├── Program.cs │ │ ├── Properties │ │ └── AssemblyInfo.cs │ │ ├── RedisDemo.csproj │ │ └── app.config ├── Riak │ └── RiakDemo │ │ ├── Program.cs │ │ ├── Properties │ │ └── AssemblyInfo.cs │ │ ├── RiakDemo.csproj │ │ ├── RiakDemo.sln │ │ └── app.config └── SocketMQ │ ├── SocketMQ.ChatClient │ ├── Content │ │ └── Site.css │ ├── Controllers │ │ ├── AccountController.cs │ │ └── HomeController.cs │ ├── Global.asax │ ├── Global.asax.cs │ ├── Models │ │ └── AccountModels.cs │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── Scripts │ │ ├── FABridge.js │ │ ├── MicrosoftAjax.debug.js │ │ ├── MicrosoftAjax.js │ │ ├── MicrosoftMvcAjax.debug.js │ │ ├── MicrosoftMvcAjax.js │ │ ├── MicrosoftMvcValidation.debug.js │ │ ├── MicrosoftMvcValidation.js │ │ ├── WebSocketMain.swf │ │ ├── jquery-1.3.2-vsdoc.js │ │ ├── jquery-1.3.2.js │ │ ├── jquery-1.3.2.min.js │ │ ├── jquery-1.4.2.min.js │ │ ├── jquery.json-2.2.min.js │ │ ├── jquery.validate-vsdoc.js │ │ ├── jquery.validate.js │ │ ├── jquery.validate.min.js │ │ ├── socketmq-0.0.2.js │ │ ├── swfobject.js │ │ └── web_socket.js │ ├── SocketMQ.ChatClient.Publish.xml │ ├── SocketMQ.ChatClient.csproj │ ├── Views │ │ ├── Account │ │ │ └── LogOn.spark │ │ ├── Home │ │ │ ├── About.spark │ │ │ └── Index.spark │ │ ├── Shared │ │ │ ├── Application.spark │ │ │ ├── Error.spark │ │ │ ├── _LogOnUserControl.spark │ │ │ └── _global.spark │ │ └── Web.config │ ├── Web.Debug.config │ ├── Web.Release.config │ └── Web.config │ ├── SocketMQ.ChatService │ ├── ChatService.cs │ ├── ClientMessage.cs │ ├── MessageHandler.cs │ ├── Program.cs │ ├── Properties │ │ └── AssemblyInfo.cs │ └── SocketMQ.ChatService.csproj │ └── WebSocketService │ ├── Program.cs │ ├── Properties │ └── AssemblyInfo.cs │ ├── WebSocketService.csproj │ └── app.config ├── lib ├── CommandLineParser │ ├── CommandLine.XML │ ├── CommandLine.dll │ └── LICENSE ├── Lucene │ ├── Lucene.Net.dll │ └── Lucene.Net.pdb ├── MSpec │ ├── CommandLine.dll │ ├── CommandLine.xml │ ├── InstallResharperRunner.4.1.bat │ ├── InstallResharperRunner.4.5.bat │ ├── InstallResharperRunner.5.0 - VS2008.bat │ ├── InstallResharperRunner.5.0 - VS2010.bat │ ├── InstallResharperRunner.5.1 - VS2008.bat │ ├── InstallResharperRunner.5.1 - VS2010.bat │ ├── InstallTDNetRunner.bat │ ├── InstallTDNetRunnerSilent.bat │ ├── InstallUtil.InstallLog │ ├── License.txt │ ├── Machine.Specifications.GallioAdapter.3.1.dll │ ├── Machine.Specifications.GallioAdapter.3.1.pdb │ ├── Machine.Specifications.GallioAdapter.dll │ ├── Machine.Specifications.GallioAdapter.pdb │ ├── Machine.Specifications.GallioAdapter.plugin │ ├── Machine.Specifications.ReSharperRunner.4.1.dll │ ├── Machine.Specifications.ReSharperRunner.4.1.pdb │ ├── Machine.Specifications.ReSharperRunner.4.5.dll │ ├── Machine.Specifications.ReSharperRunner.4.5.pdb │ ├── Machine.Specifications.ReSharperRunner.5.0.dll │ ├── Machine.Specifications.ReSharperRunner.5.0.pdb │ ├── Machine.Specifications.ReSharperRunner.5.1.dll │ ├── Machine.Specifications.ReSharperRunner.5.1.pdb │ ├── Machine.Specifications.Reporting.InstallLog │ ├── Machine.Specifications.Reporting.InstallState │ ├── Machine.Specifications.Reporting.Templates.dll │ ├── Machine.Specifications.Reporting.dll │ ├── Machine.Specifications.Reporting.pdb │ ├── Machine.Specifications.SeleniumSupport.dll │ ├── Machine.Specifications.SeleniumSupport.pdb │ ├── Machine.Specifications.TDNetRunner.dll │ ├── Machine.Specifications.TDNetRunner.pdb │ ├── Machine.Specifications.WatinSupport.dll │ ├── Machine.Specifications.WatinSupport.pdb │ ├── Machine.Specifications.dll │ ├── Machine.Specifications.dll.tdnet │ ├── Machine.Specifications.pdb │ ├── Newtonsoft.Json.dll │ ├── Spark.dll │ ├── Spark.pdb │ ├── TestDriven.Framework.dll │ ├── ThoughtWorks.Selenium.Core.dll │ ├── ThoughtWorks.Selenium.Core.pdb │ ├── WatiN.Core.dll │ ├── mspec-clr4.exe │ ├── mspec-clr4.pdb │ ├── mspec-x86-clr4.exe │ ├── mspec-x86-clr4.pdb │ ├── mspec-x86.exe │ ├── mspec-x86.pdb │ ├── mspec.exe │ └── mspec.pdb ├── Memcached │ ├── Enyim.Caching.dll │ ├── Enyim.Caching.dll.config │ ├── Enyim.Caching.pdb │ ├── Enyim.Caching.xml │ ├── log4net.dll │ └── log4net.xml ├── Moq.dll ├── Moq.dll.CodeAnalysisLog.xml ├── Moq.dll.lastcodeanalysissucceeded ├── Moq.pdb ├── Moq.xml ├── NHibernate │ ├── Antlr3.Runtime.dll │ ├── Archive │ │ ├── Antlr3.Runtime.dll │ │ ├── Castle.Core.dll │ │ ├── FluentNHibernate.XML │ │ ├── FluentNHibernate.dll │ │ ├── FluentNHibernate.pdb │ │ ├── Iesi.Collections.dll │ │ ├── NHibernate.ByteCode.Castle.dll │ │ ├── NHibernate.ByteCode.Castle.xml │ │ ├── NHibernate.dll │ │ ├── NHibernate.xml │ │ ├── Remotion.Data.Linq.dll │ │ ├── nhibernate-configuration.xsd │ │ └── nhibernate-mapping.xsd │ ├── Castle.Core.dll │ ├── FluentNHibernate.XML │ ├── FluentNHibernate.dll │ ├── FluentNHibernate.pdb │ ├── Iesi.Collections.dll │ ├── NHibernate.ByteCode.Castle.dll │ ├── NHibernate.ByteCode.Castle.xml │ ├── NHibernate.dll │ ├── NHibernate.xml │ ├── Remotion.Data.Linq.dll │ ├── nhibernate-configuration.xsd │ └── nhibernate-mapping.xsd ├── Ninject │ └── Ninject.dll ├── RabbitMQ │ ├── LICENSE │ ├── LICENSE-APACHE2 │ ├── LICENSE-MPL-RabbitMQ │ ├── RabbitMQ.Client.dll │ ├── RabbitMQ.Client.xml │ └── RabbitMQ.ServiceModel.dll ├── ReactiveExtensions │ ├── Silverlight │ │ ├── System.CoreEx.dll │ │ ├── System.Interactive.dll │ │ ├── System.Observable.dll │ │ └── System.Reactive.dll │ ├── System.CoreEx.dll │ ├── System.CoreEx.xml │ ├── System.Interactive.dll │ ├── System.Interactive.xml │ ├── System.Linq.Async.dll │ ├── System.Linq.Async.xml │ ├── System.Reactive.dll │ └── System.Reactive.xml ├── StructureMap │ ├── LICENSE.TXT │ ├── StructureMap.dll │ └── StructureMap.xml ├── log4net │ ├── log4net.config │ ├── log4net.dll │ └── log4net.xml └── zlib.net.dll ├── misc └── Experimental │ └── Symbiote.Net │ ├── AuthRequiredResponse.cs │ ├── BasicAuthRequiredResponse.cs │ ├── ClientFactory.cs │ ├── HttpBasicAuthChallenger.cs │ ├── HttpContext.cs │ ├── HttpRequest.cs │ ├── HttpResponse.cs │ ├── HttpServer.cs │ ├── HttpServerAssimilation.cs │ ├── HttpServerConfiguration.cs │ ├── HttpServerConfigurator.cs │ ├── HttpServerException.cs │ ├── HttpStreamReader.cs │ ├── IAuthenticationValidator.cs │ ├── IHttpAuthChallenger.cs │ ├── IHttpClient.cs │ ├── IHttpServer.cs │ ├── IHttpServerConfiguration.cs │ ├── NoAuthChallenger.cs │ ├── SecureHttpClient.cs │ ├── SimpleHttpClient.cs │ ├── Symbiote.Net.csproj │ └── WorthlessAuthenticationValidator.cs ├── packs ├── Symbiote.Actor.0.1.0.0.nupkg ├── Symbiote.Core.0.1.0.0.nupkg ├── Symbiote.Couch.0.1.0.0.nupkg ├── Symbiote.Daemon.0.1.0.0.nupkg ├── Symbiote.Eidetic.0.1.0.0.nupkg ├── Symbiote.JsonRpc.Client.0.1.0.0.nupkg ├── Symbiote.JsonRpc.Host.0.1.0.0.nupkg ├── Symbiote.Log4Net.0.1.0.0.nupkg ├── Symbiote.Lucene.0.1.0.0.nupkg ├── Symbiote.Messaging.0.1.0.0.nupkg ├── Symbiote.Rabbit.0.1.0.0.nupkg ├── Symbiote.Redis.0.1.0.0.nupkg ├── Symbiote.StructureMap.0.1.0.0.nupkg └── Symbiote.Wcf.0.1.0.0.nupkg ├── resharper_style.xml ├── scripts ├── FABridge.js ├── WebSocketMain.swf ├── jquery-1.4.2.min.js ├── jquery.json-2.2.min.js ├── socketmq-0.0.2.js ├── swfobject.js └── web_socket.js ├── src ├── Newtonsoft.Json │ ├── Lib │ │ ├── LinqBridge.dll │ │ └── NUnit │ │ │ ├── Compact │ │ │ └── NUnitLite.dll │ │ │ ├── DotNet │ │ │ ├── nunit.framework.dll │ │ │ └── nunit.framework.xml │ │ │ └── Silverlight │ │ │ └── nunit.framework.dll │ ├── Newtonsoft.Json.Tests │ │ ├── Bson │ │ │ ├── BsonReaderTests.cs │ │ │ └── BsonWriterTests.cs │ │ ├── Converters │ │ │ ├── BinaryConverterTests.cs │ │ │ ├── CustomCreationConverterTests.cs │ │ │ ├── DataSetConverterTests.cs │ │ │ ├── DataTableConverterTests.cs │ │ │ ├── IsoDateTimeConverterTests.cs │ │ │ ├── JavaScriptDateTimeConverterTests.cs │ │ │ ├── ObjectIdConverterTests.cs │ │ │ ├── RegexConverterTests.cs │ │ │ ├── StringEnumConverterTests.cs │ │ │ └── XmlNodeConverterTest.cs │ │ ├── ExceptionTests.cs │ │ ├── FileSystemEntityModel.Designer.cs │ │ ├── FileSystemEntityModel.edmx │ │ ├── JsonArrayAttributeTests.cs │ │ ├── JsonConvertTest.cs │ │ ├── JsonTextReaderTest.cs │ │ ├── JsonTextWriterTest.cs │ │ ├── JsonValidatingReaderTests.cs │ │ ├── Linq │ │ │ ├── ComponentModel │ │ │ │ ├── BindingTests.cs │ │ │ │ └── JPropertyDescriptorTests.cs │ │ │ ├── DynamicTests.cs │ │ │ ├── JArrayTests.cs │ │ │ ├── JConstructorTests.cs │ │ │ ├── JObjectTests.cs │ │ │ ├── JPathTests.cs │ │ │ ├── JPropertyTests.cs │ │ │ ├── JRawTests.cs │ │ │ ├── JTokenEqualityComparerTests.cs │ │ │ ├── JTokenReaderTest.cs │ │ │ ├── JTokenTests.cs │ │ │ ├── JTokenWriterTest.cs │ │ │ ├── JValueTests.cs │ │ │ └── LinqToJsonTest.cs │ │ ├── LinqToSql │ │ │ ├── Department.cs │ │ │ ├── DepartmentConverter.cs │ │ │ ├── GuidByteArrayConverter.cs │ │ │ ├── LinqToSqlClasses.dbml │ │ │ ├── LinqToSqlClasses.dbml.layout │ │ │ ├── LinqToSqlClasses.designer.cs │ │ │ ├── LinqToSqlClassesSerializationTests.cs │ │ │ ├── Person.cs │ │ │ └── Role.cs │ │ ├── Newtonsoft.Json.Tests.Net20.csproj │ │ ├── Newtonsoft.Json.Tests.Net35.csproj │ │ ├── Newtonsoft.Json.Tests.Silverlight.csproj │ │ ├── Newtonsoft.Json.Tests.WindowsPhone.csproj │ │ ├── Newtonsoft.Json.Tests.csproj │ │ ├── PerformanceTests.cs │ │ ├── Properties │ │ │ └── AssemblyInfo.cs │ │ ├── Schema │ │ │ ├── ExtensionsTests.cs │ │ │ ├── JsonSchemaBuilderTests.cs │ │ │ ├── JsonSchemaGeneratorTests.cs │ │ │ ├── JsonSchemaModelBuilderTests.cs │ │ │ ├── JsonSchemaNodeTests.cs │ │ │ └── JsonSchemaTests.cs │ │ ├── Serialization │ │ │ ├── CamelCasePropertyNamesContractResolverTests.cs │ │ │ ├── ConstructorHandlingTests.cs │ │ │ ├── ContractResolverTests.cs │ │ │ ├── DefaultValueHandlingTests.cs │ │ │ ├── DynamicTests.cs │ │ │ ├── EntitiesSerializationTests.cs │ │ │ ├── JsonSerializerTest.cs │ │ │ ├── MissingMemberHandlingTests.cs │ │ │ ├── NullValueHandlingTests.cs │ │ │ ├── PopulateTests.cs │ │ │ ├── PreserveReferencesHandlingTests.cs │ │ │ ├── SerializationErrorHandlingTests.cs │ │ │ ├── SerializationEventAttributeTests.cs │ │ │ └── TypeNameHandlingTests.cs │ │ ├── SilverlightTests.cs │ │ ├── TestFixtureBase.cs │ │ ├── TestObjects │ │ │ ├── AbstractGenericBase.cs │ │ │ ├── ArgumentConverterPrecedenceClassConverter.cs │ │ │ ├── Article.cs │ │ │ ├── ArticleCollection.cs │ │ │ ├── BadJsonPropertyClass.cs │ │ │ ├── Bar.cs │ │ │ ├── Car.cs │ │ │ ├── CircularReferenceClass.cs │ │ │ ├── CircularReferenceWithIdClass.cs │ │ │ ├── ClassAndMemberConverterClass.cs │ │ │ ├── ClassConverterPrecedenceClassConverter.cs │ │ │ ├── ClassWithArray.cs │ │ │ ├── ClassWithGuid.cs │ │ │ ├── Computer.cs │ │ │ ├── ConstructorCaseSensitivityClass.cs │ │ │ ├── ConstructorReadonlyFields.cs │ │ │ ├── Container.cs │ │ │ ├── Content.cs │ │ │ ├── ContentBaseClass.cs │ │ │ ├── ContentSubClass.cs │ │ │ ├── ConverableMembers.cs │ │ │ ├── ConverterPrecedenceClass.cs │ │ │ ├── ConverterPrecedenceClassConverter.cs │ │ │ ├── DateTimeErrorObjectCollection.cs │ │ │ ├── DateTimeTestClass.cs │ │ │ ├── DefaultValueAttributeTestClass.cs │ │ │ ├── DictionaryInterfaceClass.cs │ │ │ ├── DoubleClass.cs │ │ │ ├── EmployeeReference.cs │ │ │ ├── Event.cs │ │ │ ├── Foo.cs │ │ │ ├── GenericImpl.cs │ │ │ ├── GenericListAndDictionaryInterfaceProperties.cs │ │ │ ├── GetOnlyPropertyClass.cs │ │ │ ├── GoogleMapGeocoderStructure.cs │ │ │ ├── HolderClass.cs │ │ │ ├── IncompatibleJsonAttributeClass.cs │ │ │ ├── InterfacePropertyTestClass.cs │ │ │ ├── Invoice.cs │ │ │ ├── JaggedArray.cs │ │ │ ├── JsonIgnoreAttributeOnClassTestClass.cs │ │ │ ├── JsonIgnoreAttributeTestClass.cs │ │ │ ├── JsonPropertyClass.cs │ │ │ ├── JsonPropertyWithHandlingValues.cs │ │ │ ├── ListErrorObject.cs │ │ │ ├── ListErrorObjectCollection.cs │ │ │ ├── ListOfIds.cs │ │ │ ├── ListTestClass.cs │ │ │ ├── LogEntry.cs │ │ │ ├── MemberConverterClass.cs │ │ │ ├── MemberConverterPrecedenceClassConverter.cs │ │ │ ├── MethodExecutorObject.cs │ │ │ ├── Movie.cs │ │ │ ├── MyClass.cs │ │ │ ├── Name.cs │ │ │ ├── NonRequest.cs │ │ │ ├── NullableDateTimeTestClass.cs │ │ │ ├── ObjectArrayPropertyTest.cs │ │ │ ├── Person.cs │ │ │ ├── PersonError.cs │ │ │ ├── PersonPropertyClass.cs │ │ │ ├── PersonRaw.cs │ │ │ ├── PhoneNumber.cs │ │ │ ├── PrivateConstructorTestClass.cs │ │ │ ├── PrivateConstructorWithPublicParametizedConstructorTestClass.cs │ │ │ ├── PrivateMembersClass.cs │ │ │ ├── Product.cs │ │ │ ├── ProductCollection.cs │ │ │ ├── ProductShort.cs │ │ │ ├── PropertyCase.cs │ │ │ ├── RequestOnly.cs │ │ │ ├── RequiredMembersClass.cs │ │ │ ├── RoleTransfer.cs │ │ │ ├── SearchResult.cs │ │ │ ├── SerializationEventTestDictionary.cs │ │ │ ├── SerializationEventTestList.cs │ │ │ ├── SerializationEventTestObject.cs │ │ │ ├── SerializationEventTestObjectWithConstructor.cs │ │ │ ├── SetOnlyPropertyClass.cs │ │ │ ├── SetOnlyPropertyClass2.cs │ │ │ ├── Shortie.cs │ │ │ ├── Store.cs │ │ │ ├── StoreColor.cs │ │ │ ├── StructTest.cs │ │ │ ├── SubKlass.cs │ │ │ ├── SuperKlass.cs │ │ │ ├── TypeClass.cs │ │ │ ├── TypedSubHashtable.cs │ │ │ ├── UserNullable.cs │ │ │ ├── VersionKeyedCollection.cs │ │ │ └── WagePerson.cs │ │ ├── Utilities │ │ │ ├── DynamicReflectionDelegateFactoryTests.cs │ │ │ └── ReflectionUtilsTests.cs │ │ └── bunny_pancake.jpg │ └── Newtonsoft.Json │ │ ├── Bson │ │ ├── BsonBinaryType.cs │ │ ├── BsonBinaryWriter.cs │ │ ├── BsonObjectId.cs │ │ ├── BsonReader.cs │ │ ├── BsonToken.cs │ │ ├── BsonType.cs │ │ └── BsonWriter.cs │ │ ├── ConstructorHandling.cs │ │ ├── Converters │ │ ├── BinaryConverter.cs │ │ ├── BsonObjectIdConverter.cs │ │ ├── CustomCreationConverter.cs │ │ ├── DataSetConverter.cs │ │ ├── DataTableConverter.cs │ │ ├── DateTimeConverterBase.cs │ │ ├── EntityKeyMemberConverter.cs │ │ ├── IsoDateTimeConverter.cs │ │ ├── JavaScriptDateTimeConverter.cs │ │ ├── JsonDateTimeSerializationMode.cs │ │ ├── KeyValuePairConverter.cs │ │ ├── RegexConverter.cs │ │ ├── StringEnumConverter.cs │ │ └── XmlNodeConverter.cs │ │ ├── DefaultValueHandling.cs │ │ ├── Dynamic.snk │ │ ├── FormatterAssemblyStyle.cs │ │ ├── IJsonLineInfo.cs │ │ ├── JsonArrayAttribute.cs │ │ ├── JsonContainerAttribute.cs │ │ ├── JsonConvert.cs │ │ ├── JsonConverter.cs │ │ ├── JsonConverterAttribute.cs │ │ ├── JsonConverterCollection.cs │ │ ├── JsonIgnoreAttribute.cs │ │ ├── JsonObjectAttribute.cs │ │ ├── JsonPropertyAttribute.cs │ │ ├── JsonReader.cs │ │ ├── JsonReaderException.cs │ │ ├── JsonSerializationException.cs │ │ ├── JsonSerializer.cs │ │ ├── JsonSerializerSettings.cs │ │ ├── JsonTextReader.cs │ │ ├── JsonTextWriter.cs │ │ ├── JsonToken.cs │ │ ├── JsonValidatingReader.cs │ │ ├── JsonWriter.cs │ │ ├── JsonWriterException.cs │ │ ├── Linq │ │ ├── ComponentModel │ │ │ └── JPropertyDescriptor.cs │ │ ├── Extensions.cs │ │ ├── IJEnumerable.cs │ │ ├── JArray.cs │ │ ├── JConstructor.cs │ │ ├── JContainer.cs │ │ ├── JEnumerable.cs │ │ ├── JObject.cs │ │ ├── JPath.cs │ │ ├── JProperty.cs │ │ ├── JRaw.cs │ │ ├── JToken.cs │ │ ├── JTokenEqualityComparer.cs │ │ ├── JTokenReader.cs │ │ ├── JTokenType.cs │ │ ├── JTokenWriter.cs │ │ └── JValue.cs │ │ ├── MemberSerialization.cs │ │ ├── MissingMemberHandling.cs │ │ ├── Newtonsoft.Json.Net20.csproj │ │ ├── Newtonsoft.Json.Net35.csproj │ │ ├── Newtonsoft.Json.Silverlight.csproj │ │ ├── Newtonsoft.Json.WindowsPhone.csproj │ │ ├── Newtonsoft.Json.csproj │ │ ├── Newtonsoft.Json.ruleset │ │ ├── NullValueHandling.cs │ │ ├── ObjectCreationHandling.cs │ │ ├── PreserveReferencesHandling.cs │ │ ├── Properties │ │ └── AssemblyInfo.cs │ │ ├── ReferenceLoopHandling.cs │ │ ├── Required.cs │ │ ├── Schema │ │ ├── Extensions.cs │ │ ├── JsonSchema.cs │ │ ├── JsonSchemaBuilder.cs │ │ ├── JsonSchemaConstants.cs │ │ ├── JsonSchemaException.cs │ │ ├── JsonSchemaGenerator.cs │ │ ├── JsonSchemaModel.cs │ │ ├── JsonSchemaModelBuilder.cs │ │ ├── JsonSchemaNode.cs │ │ ├── JsonSchemaNodeCollection.cs │ │ ├── JsonSchemaResolver.cs │ │ ├── JsonSchemaType.cs │ │ ├── JsonSchemaWriter.cs │ │ ├── UndefinedSchemaIdHandling.cs │ │ ├── ValidationEventArgs.cs │ │ └── ValidationEventHandler.cs │ │ ├── Serialization │ │ ├── CachedAttributeGetter.cs │ │ ├── CamelCasePropertyNamesContractResolver.cs │ │ ├── DefaultContractResolver.cs │ │ ├── DefaultReferenceResolver.cs │ │ ├── DefaultSerializationBinder.cs │ │ ├── DynamicValueProvider.cs │ │ ├── ErrorContext.cs │ │ ├── ErrorEventArgs.cs │ │ ├── IContractResolver.cs │ │ ├── IReferenceResolver.cs │ │ ├── IValueProvider.cs │ │ ├── JsonArrayContract.cs │ │ ├── JsonContract.cs │ │ ├── JsonDictionaryContract.cs │ │ ├── JsonDynamicContract.cs │ │ ├── JsonFormatterConverter.cs │ │ ├── JsonISerializableContract.cs │ │ ├── JsonLinqContract.cs │ │ ├── JsonObjectContract.cs │ │ ├── JsonPrimitiveContract.cs │ │ ├── JsonProperty.cs │ │ ├── JsonPropertyCollection.cs │ │ ├── JsonSerializerInternalBase.cs │ │ ├── JsonSerializerInternalReader.cs │ │ ├── JsonSerializerInternalWriter.cs │ │ ├── JsonSerializerProxy.cs │ │ ├── JsonStringContract.cs │ │ ├── JsonTypeReflector.cs │ │ ├── LateBoundMetadataTypeAttribute.cs │ │ ├── ObjectConstructor.cs │ │ ├── OnErrorAttribute.cs │ │ └── ReflectionValueProvider.cs │ │ ├── SerializationBinder.cs │ │ ├── StreamingContext.cs │ │ ├── TypeNameHandling.cs │ │ └── Utilities │ │ ├── Base64Encoder.cs │ │ ├── BidirectionalDictionary.cs │ │ ├── CollectionUtils.cs │ │ ├── CollectionWrapper.cs │ │ ├── ConvertUtils.cs │ │ ├── DateTimeUtils.cs │ │ ├── DictionaryWrapper.cs │ │ ├── DynamicProxy.cs │ │ ├── DynamicProxyMetaObject.cs │ │ ├── DynamicReflectionDelegateFactory.cs │ │ ├── DynamicUtils.cs │ │ ├── DynamicWrapper.cs │ │ ├── EnumUtils.cs │ │ ├── EnumValue.cs │ │ ├── EnumValues.cs │ │ ├── ILGeneratorExtensions.cs │ │ ├── JavaScriptUtils.cs │ │ ├── LateBoundReflectionDelegateFactory.cs │ │ ├── ListWrapper.cs │ │ ├── MathUtils.cs │ │ ├── MethodCall.cs │ │ ├── MiscellaneousUtils.cs │ │ ├── ReflectionDelegateFactory.cs │ │ ├── ReflectionUtils.cs │ │ ├── StringBuffer.cs │ │ ├── StringUtils.cs │ │ ├── ThreadSafeStore.cs │ │ └── ValidationUtils.cs ├── Symbiote.Core │ ├── .IKeyAccessor.cs.swp │ ├── Actor │ │ ├── Agency.cs │ │ ├── DefaultActorFactory.cs │ │ ├── DefaultAgent.cs │ │ ├── DefaultAgentFactory.cs │ │ ├── IActorCache.cs │ │ ├── IActorFactory.cs │ │ ├── IActorStore.cs │ │ ├── IAgency.cs │ │ ├── IAgent.cs │ │ ├── IAgentFactory.cs │ │ ├── KeyAccessAdapter.cs │ │ ├── KeyAccessManager.cs │ │ ├── NullActorCache.cs │ │ └── NullActorStore.cs │ ├── Assimilate.cs │ ├── Assimilate.cs~ │ ├── Assimilation.cs │ ├── AssimilationException.cs │ ├── Cache │ │ └── ICacheProvider.cs │ ├── Collections │ │ ├── ExclusiveConcurrentDictionary.cs │ │ ├── MruDictionary.cs │ │ ├── MruList.cs │ │ └── MruNode.cs │ ├── Concurrency │ │ ├── EventLoop.cs │ │ ├── IEventLoop.cs │ │ ├── IMailboxManager.cs │ │ ├── Mailbox.cs │ │ ├── MailboxManager.cs │ │ ├── MailboxNode.cs │ │ ├── RingBuffer.cs │ │ └── RingBufferCell.cs │ ├── Config │ │ ├── CoreDependencies.cs │ │ ├── CoreScan.cs │ │ └── FromConfig.cs │ ├── DI │ │ ├── DependencyConfigurator.cs │ │ ├── DependencyExpression.cs │ │ ├── IDependencyAdapter.cs │ │ ├── IDependencyContainer.cs │ │ ├── IDependencyDefinition.cs │ │ ├── IDependencyRegistry.cs │ │ ├── IPluginConfiguration.cs │ │ ├── IRequestPlugin.cs │ │ ├── IScan.cs │ │ ├── IScanInstruction.cs │ │ ├── ISupplyPlugin.cs │ │ ├── Impl │ │ │ ├── FactoryProvider.cs │ │ │ ├── IProvideInstance.cs │ │ │ ├── IProvideInstanceFactories.cs │ │ │ ├── InstanceFactory.cs │ │ │ ├── SimpleDependencyRegistry.cs │ │ │ └── SingletonFactory.cs │ │ ├── NullOpDependencyAdapter.cs │ │ ├── ScanIndex.cs │ │ ├── ScanInstruction.cs │ │ ├── ScannerExtensions.cs │ │ └── TypeScanner.cs │ ├── Extensions │ │ ├── ArrayExtensions.cs │ │ ├── ConcurentExtensions.cs │ │ ├── DateTimeExtensions.cs │ │ ├── DictionaryExtensions.cs │ │ ├── IEnumerableExtensions.cs │ │ └── StringExtensions.cs │ ├── Futures │ │ ├── CallbackResult.cs │ │ ├── Future.cs │ │ ├── FutureAction.cs │ │ ├── FutureAsyncCallback.cs │ │ ├── FutureCallback.cs │ │ └── FutureResult.cs │ ├── Hashing │ │ ├── Distributor.cs │ │ ├── IHashingProvider.cs │ │ ├── LoadBalancer.cs │ │ ├── MD5HashProvider.cs │ │ ├── MurmurProvider.cs │ │ └── Murmurhash.cs │ ├── IAssimilate.cs │ ├── IDefineDependencies.cs │ ├── IInitialize.cs │ ├── IKeyAccessor.cs │ ├── IMemento.cs │ ├── IProvideScan.cs │ ├── Locking │ │ ├── DistributedLock.cs │ │ ├── ILockManager.cs │ │ ├── NullLockManager.cs │ │ └── SpinLockManager.cs │ ├── Log │ │ ├── ILogger.cs │ │ ├── Impl │ │ │ ├── ILogProvider.cs │ │ │ ├── ILogger.cs │ │ │ ├── NullLogProvider.cs │ │ │ ├── NullLogger.cs │ │ │ ├── ProxyLogger.cs │ │ │ ├── TestLogProvider.cs │ │ │ └── TestLogger.cs │ │ ├── LogLevel.cs │ │ └── LogManager.cs │ ├── Memento │ │ ├── IMemento.cs │ │ ├── IMemoizer.cs │ │ ├── Memoizer.cs │ │ └── PassthroughMemento.cs │ ├── Persistence │ │ ├── IDeleteByKey.cs │ │ ├── IGetAll.cs │ │ ├── IGetByKey.cs │ │ ├── IKeyValueStore.cs │ │ ├── IRepository.cs │ │ └── IRepository.cs.orig │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── Reflection │ │ ├── ReflectionExtensions.cs │ │ └── Reflector.cs │ ├── Serialization │ │ ├── IJsonSerializerFactory.cs │ │ ├── JsonExtensions.cs │ │ ├── JsonSerializerFactory.cs │ │ ├── ProtobufExtensions.cs │ │ └── SerializationExtensions.cs │ ├── Symbiote.Core.csproj │ ├── Symbiote.Core.csproj.orig │ ├── Symbiote.Core.nuspec │ ├── Symbiote.Core.pidb │ ├── Trees │ │ ├── Avl │ │ │ ├── AvlLeaf.cs │ │ │ ├── AvlTree.cs │ │ │ ├── HashedAvlLeaf.cs │ │ │ ├── HashedAvlTree.cs │ │ │ └── IAvlLeaf.cs │ │ ├── IBalancedTree.cs │ │ ├── LeafExtensions.cs │ │ └── RedBlack │ │ │ ├── HashedRedBlackLeaf.cs │ │ │ ├── HashedRedBlackTree.cs │ │ │ ├── IRedBlackLeaf.cs │ │ │ ├── LeafColor.cs │ │ │ ├── RedBlackLeaf.cs │ │ │ └── RedBlackTree.cs │ ├── UnitOfWork │ │ ├── Context.cs │ │ ├── ContextExtensions.cs │ │ ├── DefaultContext.cs │ │ ├── DefaultContextProvider.cs │ │ ├── EventBase.cs │ │ ├── EventConfiguration.cs │ │ ├── EventListenerBase.cs │ │ ├── EventListenerException.cs │ │ ├── EventListenerManager.cs │ │ ├── EventPublisher.cs │ │ ├── EventSubscriptionToken.cs │ │ ├── IContext.cs │ │ ├── IContextProvider.cs │ │ ├── IEvent.cs │ │ ├── IEventConfiguration.cs │ │ ├── IEventListener.cs │ │ ├── IEventListenerManager.cs │ │ ├── IEventPublisher.cs │ │ ├── IEventStore.cs │ │ └── ReplayContext.cs │ └── Utility │ │ ├── BaseObservable.cs │ │ ├── DelimitedBuilder.cs │ │ ├── HierarchyVisitor.cs │ │ ├── ObserverCollection.cs │ │ └── ObserverToken.cs ├── Symbiote.Daemon │ ├── Args │ │ ├── ArgumentParser.cs │ │ └── Arguments.cs │ ├── BootStrap │ │ ├── ApplicationChanged.cs │ │ ├── ApplicationDeleted.cs │ │ ├── BootStrapper.cs │ │ ├── Config │ │ │ ├── BootStrapConfiguration.cs │ │ │ └── BootStrapConfigurator.cs │ │ ├── HaltMinion.cs │ │ ├── HaltMinionHandler.cs │ │ ├── IBootStrapper.cs │ │ ├── Minion.cs │ │ ├── MinionFactory.cs │ │ ├── MinionInitializer.cs │ │ ├── MinionKeyAccessor.cs │ │ ├── MinionSaga.cs │ │ ├── NewApplication.cs │ │ ├── NulloBootStrapper.cs │ │ └── Watcher.cs │ ├── DaemonAssimilation.cs │ ├── Host │ │ ├── Config │ │ │ ├── DaemonConfiguration.cs │ │ │ ├── DaemonConfigurator.cs │ │ │ ├── DaemonDependencies.cs │ │ │ └── DaemonScan.cs │ │ ├── ConsoleHost.cs │ │ ├── DaemonHost.cs │ │ ├── HostRunner.cs │ │ ├── IHost.cs │ │ ├── IServiceController.cs │ │ ├── IServiceCoordinator.cs │ │ ├── ServiceController.cs │ │ ├── ServiceCoordinator.cs │ │ ├── ServiceInformation.cs │ │ ├── ServiceName.cs │ │ ├── ServiceState.cs │ │ ├── ShutdownHandler.cs │ │ └── ShutdownMinion.cs │ ├── IDaemon.cs │ ├── IMinion.cs │ ├── Installation │ │ ├── CommandFactory.cs │ │ ├── CredentialCheck.cs │ │ ├── DaemonInstaller.cs │ │ ├── ICheckPermission.cs │ │ ├── IDaemonCommand.cs │ │ ├── InstallCommand.cs │ │ ├── InstallerExtensions.cs │ │ ├── RunCommand.cs │ │ └── UninstallCommand.cs │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── Symbiote.Daemon.csproj │ ├── Symbiote.Daemon.nuspec │ └── Symbiote.Daemon.pidb ├── Symbiote.Eidetic │ ├── Config │ │ ├── DefaultMemcachedConfiguration.cs │ │ ├── EideticConfigurator.cs │ │ ├── EideticDependencies.cs │ │ ├── IMemcachedConfig.cs │ │ ├── MemcachedConfig.cs │ │ ├── MemcachedDefaults.cs │ │ ├── MemcachedServer.cs │ │ └── MemcachedServerList.cs │ ├── EideticAssimilation.cs │ ├── Extensions │ │ ├── IRemembrance.cs │ │ └── MemoryExtensions.cs │ ├── IRemember.cs │ ├── Impl │ │ ├── EideticCacheProvider.cs │ │ ├── JsonRemembrance.cs │ │ ├── MemcachedAdapter.cs │ │ └── MemoryMananger.cs │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── StoreMode.cs │ ├── Symbiote.Eidetic.csproj │ ├── Symbiote.Eidetic.nuspec │ └── Symbiote.Eidetic.pidb ├── Symbiote.Hibernate │ ├── Config │ │ ├── HibernateConfigurator.cs │ │ └── HibernateDependencies.cs │ ├── HibernateAssimilation.cs │ ├── IRepository.cs │ ├── ISearchCriteria.cs │ ├── ISessionContext.cs │ ├── ISessionManager.cs │ ├── ISessionModule.cs │ ├── Impl │ │ ├── ExpressionExtensions.cs │ │ ├── IQueryableExtensions.cs │ │ ├── InMemoryContext.cs │ │ ├── Repository.cs │ │ ├── SearchCriteria.cs │ │ ├── SessionManager.cs │ │ └── SessionModule.cs │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── Select.cs │ ├── Symbiote.Hibernate.csproj │ ├── Symbiote.Hibernate.nuspec │ ├── Symbiote.Hibernate.pidb │ └── packages.config ├── Symbiote.Log4Net │ ├── Config │ │ ├── AppenderConfigurator.cs │ │ ├── ColorConsoleConfigurator.cs │ │ ├── ConsoleConfigurator.cs │ │ ├── FileConfigurator.cs │ │ ├── Log4NetDependencies.cs │ │ └── Log4NetInitializer.cs │ ├── Impl │ │ ├── ColorDefinition.cs │ │ ├── ColorMap.cs │ │ ├── Log4NetLogger.cs │ │ ├── Log4NetProvider.cs │ │ ├── Pattern.cs │ │ └── RollingAppender.cs │ ├── Log4NetAssimilation.cs │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── Symbiote.Log4Net.csproj │ ├── Symbiote.Log4Net.nuspec │ └── Symbiote.Log4Net.pidb ├── Symbiote.Lucene │ ├── Config │ │ ├── ILuceneConfiguration.cs │ │ ├── LuceneConfiguration.cs │ │ ├── LuceneConfigurator.cs │ │ └── LuceneDependencies.cs │ ├── ILuceneIndexer.cs │ ├── ILuceneIndexingService.cs │ ├── ILuceneSearchProvider.cs │ ├── ILuceneServiceFactory.cs │ ├── IVisit.cs │ ├── Impl │ │ ├── BaseIndexingObserver.cs │ │ ├── BaseSearchProvider.cs │ │ ├── CustomQueryParser.cs │ │ ├── DefaultAnalyzerFactory.cs │ │ ├── DefaultDirectoryFactory.cs │ │ ├── DocumentQueue.cs │ │ ├── ExpressionTreeParser.cs │ │ ├── IAnalyzerFactory.cs │ │ ├── IDirectoryFactory.cs │ │ ├── IDocumentQueue.cs │ │ ├── LuceneIndexingObserver.cs │ │ ├── LuceneSearchProvider.cs │ │ └── LuceneServiceFactory.cs │ ├── LuceneAssimilation.cs │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── Symbiote.Lucene.csproj │ ├── Symbiote.Lucene.nuspec │ └── Symbiote.Lucene.pidb ├── Symbiote.Messaging │ ├── ChannelExtension.cs │ ├── Config │ │ ├── EventChannelConfiguration.cs │ │ ├── EventChannelConfigurator.cs │ │ ├── IEventChannelConfiguration.cs │ │ ├── MessagingDependencies.cs │ │ ├── MessagingInitializer.cs │ │ └── MessagingScan.cs │ ├── Extensions │ │ └── MessagingExtensions.cs │ ├── IBus.cs │ ├── IEnvelope.cs │ ├── IHandle.cs │ ├── Impl │ │ ├── Bus.cs │ │ ├── Channels │ │ │ ├── BaseChannelDefinition.cs │ │ │ ├── ChannelIndex.cs │ │ │ ├── ChannelManager.cs │ │ │ ├── IChannel.cs │ │ │ ├── IChannelDefinition.cs │ │ │ ├── IChannelFactory.cs │ │ │ ├── IChannelIndex.cs │ │ │ ├── IChannelManager.cs │ │ │ ├── IConfigureChannel.cs │ │ │ ├── Local │ │ │ │ ├── LocalChannel.cs │ │ │ │ ├── LocalChannelDefinition.cs │ │ │ │ └── LocalChannelFactory.cs │ │ │ └── Pipe │ │ │ │ ├── ClientPipeEndpoint.cs │ │ │ │ ├── IPipeEndpoint.cs │ │ │ │ ├── NamedPipeChannel.cs │ │ │ │ ├── NamedPipeChannelConfigurator.cs │ │ │ │ ├── NamedPipeChannelDefinition.cs │ │ │ │ ├── NamedPipeChannelFactory.cs │ │ │ │ ├── PipeEndpointFactory.cs │ │ │ │ ├── PipeProxy.cs │ │ │ │ └── ServerPipeEndpoint.cs │ │ ├── Dispatch │ │ │ ├── ActorMessageDispatcher.cs │ │ │ ├── DirectorSaga.cs │ │ │ ├── DispatchManager.cs │ │ │ ├── DispatcherKeyAccessor.cs │ │ │ ├── IDispatchMessage.cs │ │ │ ├── IDispatchToSaga.cs │ │ │ ├── IDispatcher.cs │ │ │ ├── MessageDispatcher.cs │ │ │ ├── PrimeDirector.cs │ │ │ ├── ResponseDispatcher.cs │ │ │ └── SagaMessageDispatcher.cs │ │ ├── Envelope │ │ │ ├── Envelope.cs │ │ │ └── NamedPipeEnvelope.cs │ │ ├── Eventing │ │ │ └── EventChannel.cs │ │ ├── IProvideMessagingConventions.cs │ │ ├── Mesh │ │ │ ├── DefaultNodeIdentityProvider.cs │ │ │ ├── INode.cs │ │ │ ├── INodeChannelManager.cs │ │ │ ├── INodeConfiguration.cs │ │ │ ├── INodeHealthBroadcaster.cs │ │ │ ├── INodeHealthMonitor.cs │ │ │ ├── INodeIdentityProvider.cs │ │ │ ├── INodeRegistry.cs │ │ │ ├── Node.cs │ │ │ ├── NodeChangeHandler.cs │ │ │ ├── NodeConfiguration.cs │ │ │ ├── NodeConfigurator.cs │ │ │ ├── NodeDown.cs │ │ │ ├── NodeHealth.cs │ │ │ ├── NodeHealthBroadcaster.cs │ │ │ ├── NodeHealthMonitor.cs │ │ │ ├── NodeRegistry.cs │ │ │ └── NodeUp.cs │ │ ├── Saga │ │ │ ├── Condition.cs │ │ │ ├── ConditionalTransition.cs │ │ │ ├── ICondition.cs │ │ │ ├── IConditionalTransition.cs │ │ │ ├── ISaga.cs │ │ │ └── StateMachine.cs │ │ ├── Serialization │ │ │ ├── IMessageSerializer.cs │ │ │ ├── JsonMessageSerializer.cs │ │ │ ├── MessageOptimizedSerializer.cs │ │ │ ├── MessageSerializerExtensions.cs │ │ │ ├── NetBinarySerializer.cs │ │ │ └── ProtobufMessageSerializer.cs │ │ └── Subscriptions │ │ │ ├── ISubscription.cs │ │ │ ├── ISubscriptionManager.cs │ │ │ ├── ObserverToken.cs │ │ │ └── SubscriptionManager.cs │ ├── InvalidChannelDefinitionException.cs │ ├── MessagingAssimilation.cs │ ├── MessagingException.cs │ ├── MissingChannelDefinitionException.cs │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── Saga.cs │ ├── Symbiote.Messaging.csproj │ ├── Symbiote.Messaging.nuspec │ └── Symbiote.Messaging.pidb ├── Symbiote.Mikado │ ├── Configuration │ │ ├── MikadoDependencies.cs │ │ ├── MikadoInitialization.cs │ │ └── MikadoScan.cs │ ├── Extensions │ │ ├── IContextExtensions.cs │ │ └── MikadoContextExtensions.cs │ ├── IBrokenRuleNotification.cs │ ├── IRule.cs │ ├── IRulesIndex.cs │ ├── IRunRules.cs │ ├── Impl │ │ ├── BrokenRuleNotification.cs │ │ ├── BrokenRulesCollection.cs │ │ ├── DefaultRulesIndex.cs │ │ ├── DefaultRulesRunner.cs │ │ ├── MikadoAssimilation.cs │ │ ├── MikadoContext.cs │ │ ├── MikadoContextProvider.cs │ │ ├── MikdaoContextProvider.cs │ │ ├── Rule.cs │ │ └── RuleUnsubscriber.cs │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── Symbiote.Mikado.csproj │ ├── Symbiote.Mikado.nuspec │ └── Symbiote.Mikado.pidb ├── Symbiote.Rabbit │ ├── Config │ │ ├── IRabbitBroker.cs │ │ ├── RabbitBroker.cs │ │ ├── RabbitBrokerFluentConfigurator.cs │ │ ├── RabbitConfiguration.cs │ │ ├── RabbitConfigurator.cs │ │ └── RabbitDependencies.cs │ ├── Impl │ │ ├── Adapter │ │ │ ├── QueueSubscription.cs │ │ │ └── RabbitQueueListener.cs │ │ ├── Channels │ │ │ ├── ChannelConfigurator.cs │ │ │ ├── ChannelDefinition.cs │ │ │ ├── ChannelProxy.cs │ │ │ ├── ChannelProxyFactory.cs │ │ │ ├── DeliveryMode.cs │ │ │ ├── IChannelProxy.cs │ │ │ ├── IChannelProxyFactory.cs │ │ │ ├── IHaveChannelProxy.cs │ │ │ ├── IRabbitChannelDetails.cs │ │ │ ├── RabbitChannel.cs │ │ │ └── RabbitChannelFactory.cs │ │ ├── Connection │ │ │ ├── ConnectionManager.cs │ │ │ └── IConnectionManager.cs │ │ ├── Endpoint │ │ │ ├── ConfigurationException.cs │ │ │ ├── EndpointConfigurator.cs │ │ │ ├── EndpointIndex.cs │ │ │ ├── EndpointManager.cs │ │ │ ├── IEndpointIndex.cs │ │ │ ├── IEndpointManager.cs │ │ │ └── RabbitEndpoint.cs │ │ ├── ExchangeType.cs │ │ ├── Node │ │ │ └── RabbitNodeInitializer.cs │ │ └── Subscription │ │ │ └── QueueSubscriptionFactory.cs │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── RabbitAssimilation.cs │ ├── RabbitEnvelope.cs │ ├── RabbitExtensions.cs │ ├── Symbiote.Rabbit.csproj │ ├── Symbiote.Rabbit.nuspec │ └── Symbiote.Rabbit.pidb ├── Symbiote.Redis │ ├── IRedisClient.cs │ ├── Impl │ │ ├── Command │ │ │ ├── CheckAndSetCommand.cs │ │ │ ├── DatabaseSizeCommand.cs │ │ │ ├── DecrementCommand.cs │ │ │ ├── ExpireCommand.cs │ │ │ ├── FlushCommand.cs │ │ │ ├── GetAndSetCommand.cs │ │ │ ├── GetCommand.cs │ │ │ ├── Hash │ │ │ │ ├── HDelCommand.cs │ │ │ │ ├── HExistsCommand.cs │ │ │ │ ├── HGetAllCommand.cs │ │ │ │ ├── HGetCommand.cs │ │ │ │ ├── HGetManyCommand.cs │ │ │ │ ├── HIncrementCommand.cs │ │ │ │ ├── HKeysCommand.cs │ │ │ │ ├── HLenCommand.cs │ │ │ │ ├── HSetCommand.cs │ │ │ │ ├── HSetManyCommand.cs │ │ │ │ └── HValsCommand.cs │ │ │ ├── IncrementCommand.cs │ │ │ ├── InfoCommand.cs │ │ │ ├── KeyListCommand.cs │ │ │ ├── LastSaveCommand.cs │ │ │ ├── List │ │ │ │ ├── LIndexCommand.cs │ │ │ │ ├── LLenCommand.cs │ │ │ │ ├── LPopCommand.cs │ │ │ │ ├── LPushCommand.cs │ │ │ │ ├── LRangeCommand.cs │ │ │ │ ├── LRemCommand.cs │ │ │ │ ├── LSetCommand.cs │ │ │ │ ├── LTrimCommand.cs │ │ │ │ ├── RPopCommand.cs │ │ │ │ ├── RPopLPushCommand.cs │ │ │ │ └── RPushCommand.cs │ │ │ ├── RedisCommand.cs │ │ │ ├── RemoveCommand.cs │ │ │ ├── RenameCommand.cs │ │ │ ├── SaveDatabaseCommand.cs │ │ │ ├── Set │ │ │ │ ├── SAddCommand.cs │ │ │ │ ├── SAddMultiCommand.cs │ │ │ │ ├── SCardCommand.cs │ │ │ │ ├── SDiffCommand.cs │ │ │ │ ├── SDiffStoreCommand.cs │ │ │ │ ├── SEnumInputBoolOutCommand.cs │ │ │ │ ├── SEnumInputCommand.cs │ │ │ │ ├── SInterCommand.cs │ │ │ │ ├── SInterStoreCommand.cs │ │ │ │ ├── SIsMemberCommand.cs │ │ │ │ ├── SMembersCommand.cs │ │ │ │ ├── SMoveCommand.cs │ │ │ │ ├── SPopCommand.cs │ │ │ │ ├── SRandMemberCommand.cs │ │ │ │ ├── SRemCommand.cs │ │ │ │ ├── SUnionCommand.cs │ │ │ │ └── SUnionStoreCommand.cs │ │ │ ├── SetDatabaseCommand.cs │ │ │ ├── SetManyCommand.cs │ │ │ ├── SetValueCommand.cs │ │ │ ├── ShutdownCommand.cs │ │ │ └── TimeToLiveCommand.cs │ │ ├── Config │ │ │ ├── RedisConfiguration.cs │ │ │ ├── RedisDependencies.cs │ │ │ └── RedisHost.cs │ │ ├── Connection │ │ │ ├── Connection.cs │ │ │ ├── ConnectionFactory.cs │ │ │ ├── ConnectionPool.cs │ │ │ ├── IConnection.cs │ │ │ ├── IConnectionFactory.cs │ │ │ ├── IConnectionHandle.cs │ │ │ ├── IConnectionPool.cs │ │ │ ├── IConnectionProvider.cs │ │ │ ├── LockingConnectionPool.cs │ │ │ ├── PooledConnectionHandle.cs │ │ │ ├── PooledConnectionProvider.cs │ │ │ ├── SingleConnectionHandle.cs │ │ │ └── SingleConnectionProvider.cs │ │ ├── KeyType.cs │ │ ├── RedisClient.cs │ │ ├── RedisProxy.cs │ │ ├── Serialization │ │ │ ├── ICacheSerializer.cs │ │ │ ├── JsonCacheSerializer.cs │ │ │ └── ProtobufCacheSerializer.cs │ │ ├── SortOptions.cs │ │ └── UnImplementedCommands.cs │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── RedisAssimilation.cs │ ├── RedisConfigurator.cs │ ├── ResponseException.cs │ ├── Symbiote.Redis.csproj │ ├── Symbiote.Redis.nuspec │ └── Symbiote.Redis.pidb ├── Symbiote.Riak │ ├── Config │ │ ├── BucketConfiguration.cs │ │ ├── BucketConfigurator.cs │ │ ├── IConfigureBucket.cs │ │ ├── IRiakConfiguration.cs │ │ ├── RiakConfiguration.cs │ │ ├── RiakConfigurator.cs │ │ └── RiakDependencies.cs │ ├── IDocumentRepository.cs │ ├── IRiakClient.cs │ ├── Impl │ │ ├── Data │ │ │ ├── BucketProperties.cs │ │ │ ├── Document.cs │ │ │ ├── Link.cs │ │ │ ├── ResponseCode.cs │ │ │ └── ServerInfo.cs │ │ ├── ICommandFactory.cs │ │ ├── ITrackVectors.cs │ │ ├── ProtoBuf │ │ │ ├── BigEndianExtensions.cs │ │ │ ├── BucketProperties.cs │ │ │ ├── ByteExtensions.cs │ │ │ ├── Connection │ │ │ │ ├── ConnectionFactory.cs │ │ │ │ ├── ConnectionPool.cs │ │ │ │ ├── IConnectionFactory.cs │ │ │ │ ├── IConnectionHandle.cs │ │ │ │ ├── IConnectionPool.cs │ │ │ │ ├── IConnectionProvider.cs │ │ │ │ ├── IProtoBufConnection.cs │ │ │ │ ├── LockingConnectionPool.cs │ │ │ │ ├── PooledConnectionHandle.cs │ │ │ │ ├── PooledConnectionProvider.cs │ │ │ │ ├── ProtoBufConnection.cs │ │ │ │ ├── SingleConnectionHandle.cs │ │ │ │ └── SingleConnectionProvider.cs │ │ │ ├── ProtoBufCommandFactory.cs │ │ │ ├── Request │ │ │ │ ├── Delete.cs │ │ │ │ ├── Get.cs │ │ │ │ ├── GetBucketProperties.cs │ │ │ │ ├── GetClientId.cs │ │ │ │ ├── GetServerInfo.cs │ │ │ │ ├── ListBuckets.cs │ │ │ │ ├── ListKeys.cs │ │ │ │ ├── Persist.cs │ │ │ │ ├── Ping.cs │ │ │ │ ├── RiakCommand.cs │ │ │ │ ├── RunMapReduce.cs │ │ │ │ ├── SetBucketProperties.cs │ │ │ │ └── SetClientId.cs │ │ │ ├── RequestCode.cs │ │ │ ├── Response │ │ │ │ ├── Bucket.cs │ │ │ │ ├── BucketList.cs │ │ │ │ ├── BucketPropertiesSet.cs │ │ │ │ ├── Client.cs │ │ │ │ ├── ClientIdSet.cs │ │ │ │ ├── Deleted.cs │ │ │ │ ├── Error.cs │ │ │ │ ├── GetResult.cs │ │ │ │ ├── KeyList.cs │ │ │ │ ├── MapReduceResult.cs │ │ │ │ ├── Persisted.cs │ │ │ │ ├── RiakContent.cs │ │ │ │ ├── RiakLink.cs │ │ │ │ ├── RiakPair.cs │ │ │ │ └── ServerInformation.cs │ │ │ └── RiakSerializer.cs │ │ ├── RiakClient.cs │ │ ├── RiakNode.cs │ │ └── VectorRegistry.cs │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── RiakAssimilation.cs │ ├── RiakException.cs │ ├── Symbiote.Riak.csproj │ ├── Symbiote.Riak.csproj.orig │ ├── Symbiote.Riak.nuspec │ └── Symbiote.Riak.pidb ├── Symbiote.StructureMap │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── StructureMapAdapter.cs │ ├── Symbiote.StructureMap.csproj │ ├── Symbiote.StructureMap.nuspec │ └── Symbiote.StructureMap.pidb ├── Symbiote.WCF │ ├── Client │ │ ├── BaseMetadataCache.cs │ │ ├── ClientShell.cs │ │ ├── DefaultConfigurationStrategy.cs │ │ ├── DelegateConfigurationStrategy.cs │ │ ├── IService.cs │ │ ├── IServiceClientConfigurationStrategy.cs │ │ ├── IServiceConfiguration.cs │ │ ├── IServiceMetadataCache.cs │ │ ├── InMemoryMetadataCache.cs │ │ ├── NullServiceClient.cs │ │ ├── ServiceClient.cs │ │ ├── ServiceClientException.cs │ │ └── ServiceClientRegistry.cs │ ├── IWcfServiceConfiguration.cs │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── Server │ │ ├── WcfServerConfigurator.cs │ │ ├── WcfServiceConfiguration.cs │ │ ├── WcfServiceConfigurator.cs │ │ ├── WcfServiceHost.cs │ │ └── WcfServiceHostFactory.cs │ ├── ServiceClientFactory.cs │ ├── Symbiote.Wcf.csproj │ ├── Symbiote.Wcf.nuspec │ ├── Symbiote.Wcf.pidb │ ├── WcfClientAssimilation.cs │ ├── WcfClientConfigurator.cs │ └── WcfDependencies.cs └── protobuf-net │ ├── BclHelpers.cs │ ├── BufferExtension.cs │ ├── BufferPool.cs │ ├── CallbackAttributes.cs │ ├── Compiler │ ├── CompilerContext.cs │ ├── CompilerDelegates.cs │ └── Local.cs │ ├── DataFormat.cs │ ├── Extensible.cs │ ├── ExtensibleUtil.cs │ ├── GlobalOptions.cs │ ├── Helpers.cs │ ├── IExtensible.cs │ ├── IExtension.cs │ ├── ImplicitFields.cs │ ├── KeyValuePairProxy.cs │ ├── Meta │ ├── BasicList.cs │ ├── CallbackSet.cs │ ├── MetaType.cs │ ├── RuntimeTypeModel.cs │ ├── SubType.cs │ ├── TypeModel.cs │ └── ValueMember.cs │ ├── NonGeneric.cs │ ├── PrefixStyle.cs │ ├── Properties │ └── AssemblyInfo.cs │ ├── ProtoContractAttribute.cs │ ├── ProtoEnumAttribute.cs │ ├── ProtoException.cs │ ├── ProtoIgnoreAttribute.cs │ ├── ProtoIncludeAttribute.cs │ ├── ProtoMemberAttribute.cs │ ├── ProtoReader.cs │ ├── ProtoWriter.cs │ ├── Serializer.cs │ ├── Serializers │ ├── ArrayDecorator.cs │ ├── BlobSerializer.cs │ ├── BooleanSerializer.cs │ ├── ByteSerializer.cs │ ├── CharSerializer.cs │ ├── CompiledSerializer.cs │ ├── DateTimeSerializer.cs │ ├── DecimalSerializer.cs │ ├── DefaultValueDecorator.cs │ ├── DoubleSerializer.cs │ ├── EnumSerializer.cs │ ├── FieldDecorator.cs │ ├── GuidSerializer.cs │ ├── IProtoSerializer.cs │ ├── IProtoTypeSerializer.cs │ ├── ISerializerProxy.cs │ ├── Int16Serializer.cs │ ├── Int32Serializer.cs │ ├── Int64Serializer.cs │ ├── KeyValuePairDecorator.cs │ ├── ListDecorator.cs │ ├── MemberSpecifiedDecorator.cs │ ├── PropertyDecorator.cs │ ├── ProtoDecoratorBase.cs │ ├── SByteSerializer.cs │ ├── SingleSerializer.cs │ ├── StringSerializer.cs │ ├── SubItemSerializer.cs │ ├── SurrogateSerializer.cs │ ├── TagDecorator.cs │ ├── TimeSpanSerializer.cs │ ├── TypeSerializer.cs │ ├── UInt16Serializer.cs │ ├── UInt32Serializer.cs │ ├── UInt64Serializer.cs │ └── UriDecorator.cs │ ├── ServiceModel │ ├── ProtoBehaviorAttribute.cs │ ├── ProtoBehaviorExtensionElement.cs │ ├── ProtoEndpointBehavior.cs │ ├── ProtoOperationBehavior.cs │ └── XmlProtoSerializer.cs │ ├── SubItemToken.cs │ ├── Web │ └── TODO.txt │ ├── WireType.cs │ └── protobuf-net.csproj ├── tests ├── Core.Tests │ ├── Actor │ │ ├── Agency │ │ │ ├── DummyAgent.cs │ │ │ ├── when_requesting_agents_in_parallel.cs │ │ │ └── with_mock_agent_factory.cs │ │ ├── Agent │ │ │ ├── DummyActorFactory.cs │ │ │ ├── when_creating_actor_instance_with_default_factory.cs │ │ │ ├── when_instantiating_from_actor.cs │ │ │ ├── when_requesting_agent_with_preloading.cs │ │ │ ├── when_requesting_cached_actor.cs │ │ │ ├── when_requesting_same_actor_under_race_condition.cs │ │ │ ├── when_requesting_stored_actor.cs │ │ │ ├── with_agent_setup.cs │ │ │ ├── with_cached_actor.cs │ │ │ ├── with_no_actor.cs │ │ │ └── with_stored_actor.cs │ │ ├── Cache │ │ │ ├── CacheItem.cs │ │ │ ├── CacheMemento.cs │ │ │ ├── MemoryCache.cs │ │ │ ├── MemoryStore.cs │ │ │ ├── TestKeyAccessor.cs │ │ │ ├── TestKeyAccessor.cs.orig │ │ │ ├── when_caching_actor.cs │ │ │ └── with_cache.cs │ │ ├── Domain │ │ │ ├── DriverFactory.cs │ │ │ ├── DriverKeyAccessor.cs │ │ │ ├── DriverKeyAccessor.cs.orig │ │ │ ├── Events │ │ │ │ ├── DriverAddedAddress.cs │ │ │ │ ├── DriverAddedVehicle.cs │ │ │ │ └── DriverChangedName.cs │ │ │ ├── Memoization │ │ │ │ ├── AddressMemento.cs │ │ │ │ ├── DriverMemento.cs │ │ │ │ └── VehicleMemento.cs │ │ │ ├── Model │ │ │ │ ├── Address.cs │ │ │ │ ├── Driver.cs │ │ │ │ ├── IAddressMemento.cs │ │ │ │ ├── IDriverMemento.cs │ │ │ │ ├── IVehicleMemento.cs │ │ │ │ ├── Vehicle.cs │ │ │ │ └── VehicleKeyAccessor.cs │ │ │ ├── NewMotoristHandler.cs │ │ │ └── NewMotoristMessage.cs │ │ ├── DummyActor.cs │ │ ├── DummyKeyAccessor.cs │ │ ├── DummyKeyAccessor.cs.orig │ │ ├── Events │ │ │ └── when_capturing_events.cs │ │ ├── KeyAccess │ │ │ ├── Class1.cs │ │ │ ├── Class2.cs │ │ │ ├── ConcreteKeyAccessor.cs │ │ │ ├── ConcreteType.cs │ │ │ ├── IHaveId.cs │ │ │ ├── InterfaceKeyAccessor.cs │ │ │ ├── when_accessing_key_by_concrete_accessor.cs │ │ │ ├── when_accessing_key_by_inherited_accessor.cs │ │ │ └── with_key_accessor.cs │ │ ├── when_caching_actor.cs │ │ ├── when_requesting_new_actor_from_agent.cs │ │ └── with_assimilation.cs │ ├── App.config │ ├── Collections │ │ ├── when_attempting_writes_in_parallel_to_exclusive_dictionary.cs │ │ ├── when_writes_exceed_limit.cs │ │ └── with_mrudictionary.cs │ ├── Concurrency │ │ └── EventLoop │ │ │ ├── when_enqueuing_work_to_started_loop.cs │ │ │ ├── when_enqueuing_work_to_stopped_loop.cs │ │ │ ├── when_restarting_loop.cs │ │ │ └── with_event_loop.cs │ ├── Config │ │ └── when_pulling_values_from_config_fluently.cs │ ├── Core.Tests.csproj │ ├── Core.Tests.pidb │ ├── DI │ │ ├── AClassOf.cs │ │ ├── AnInterfaceOf.cs │ │ ├── BaseClass.cs │ │ ├── ClosedClass.cs │ │ ├── Container │ │ │ ├── ClosedImpl.cs │ │ │ ├── IHazzaMessage.cs │ │ │ ├── IMark.cs │ │ │ ├── IMessageProvider.cs │ │ │ ├── IShouldBeSingleton.cs │ │ │ ├── ITakeGenericParams.cs │ │ │ ├── MessageHazzer.cs │ │ │ ├── MessageProvider.cs │ │ │ ├── Multiple1.cs │ │ │ ├── Multiple2.cs │ │ │ ├── Multiple3.cs │ │ │ ├── OpenConcrete.cs │ │ │ ├── OpenImpl.cs │ │ │ ├── PlainConcrete.cs │ │ │ ├── SingletonA.cs │ │ │ ├── SingletonB.cs │ │ │ ├── when_asking_for_non_defined_type.cs │ │ │ ├── when_getting_all_instances_for_type.cs │ │ │ ├── when_instantiating_closed_generic.cs │ │ │ ├── when_instantiating_open_generic.cs │ │ │ ├── when_requesting_closed_type_from_generic.cs │ │ │ ├── when_requesting_concrete_open_type.cs │ │ │ ├── when_requesting_concrete_type.cs │ │ │ ├── when_requesting_type_created_by_delegate_factory.cs │ │ │ ├── when_testing_duplicate_singleton_definition.cs │ │ │ ├── when_testing_instantiation_baseline.cs │ │ │ ├── when_testing_simple_instantiation_scenario.cs │ │ │ ├── when_verifying_singletons.cs │ │ │ ├── with_closed_types_registered.cs │ │ │ ├── with_container.cs │ │ │ ├── with_duplicate_singletons_registered.cs │ │ │ ├── with_generics_registration.cs │ │ │ ├── with_multiple_classes_register_to_marker.cs │ │ │ ├── with_simple_registration.cs │ │ │ └── with_singleton_registration.cs │ │ ├── Contianer │ │ │ └── with_simple_container.cs │ │ ├── IAmAnInterface.cs │ │ ├── InheritsBaseClass.cs │ │ ├── when_loading_auto_wired_types.cs │ │ ├── when_loading_scan_index.cs │ │ ├── when_retrieving_scanned_types.cs │ │ ├── when_test_closing_aclassof.cs │ │ ├── when_test_closing_aninterfaceof.cs │ │ ├── when_testing_compatibility_of_closed_class.cs │ │ ├── when_testing_compatibility_of_open_class.cs │ │ ├── with_assembly_scanning.cs │ │ └── with_assembly_scanning_for_marker_interface.cs │ ├── DecisionTree │ │ ├── ProcessThingy.cs │ │ ├── Thingy.cs │ │ ├── ThingyFactory.cs │ │ ├── ThingySaga.cs │ │ └── when_running_thingy_saga.cs │ ├── Distributor │ │ └── Basic │ │ │ ├── when_loading_tree.cs │ │ │ ├── when_rebalancing_tree.cs │ │ │ ├── when_running_standards_test.cs │ │ │ ├── when_testing_distribution_under_load.cs │ │ │ ├── with_mod_wheel.cs │ │ │ ├── with_simple_distributor_of_lists.cs │ │ │ └── with_value_list.cs │ ├── Domain │ │ ├── DriverFactory.cs │ │ ├── Listeners │ │ │ ├── DriverGenericEvent.cs │ │ │ ├── DriverGenericEventChild.cs │ │ │ ├── StaticDriverEventListener.cs │ │ │ ├── StaticListenerForEverything.cs │ │ │ ├── StaticVehicleEventListener.cs │ │ │ ├── VehicleGenericEvent.cs │ │ │ └── VehicleGenericEventChild.cs │ │ ├── Memoization │ │ │ ├── AddressMemento.cs │ │ │ ├── DriverMemento.cs │ │ │ └── VehicleMemento.cs │ │ └── Model │ │ │ ├── Address.cs │ │ │ ├── Driver.cs │ │ │ ├── DriverKeyAccessor.cs │ │ │ ├── IAddressMemento.cs │ │ │ ├── IDriverMemento.cs │ │ │ ├── IHaveTestKey.cs │ │ │ ├── IVehicleMemento.cs │ │ │ ├── Vehicle.cs │ │ │ ├── Vehicle.cs.orig │ │ │ └── VehicleKeyAccessor.cs │ ├── Extensions │ │ ├── when_converting_from_string_with_extensions.cs │ │ ├── when_converting_to_unix_time_and_back.cs │ │ ├── when_enumerable_has_four_elements.cs │ │ ├── when_enumerable_has_one_element.cs │ │ ├── when_enumerable_has_three_elements.cs │ │ ├── when_enumerable_has_two_elements.cs │ │ ├── when_enumerable_is_empty.cs │ │ ├── when_enumerable_is_null.cs │ │ ├── when_parsing_a_lambda.cs │ │ ├── with_empty_enumerable.cs │ │ ├── with_exception.cs │ │ ├── with_four_elements.cs │ │ ├── with_null_enumerable.cs │ │ ├── with_one_element.cs │ │ ├── with_permutations.cs │ │ ├── with_three_elements.cs │ │ └── with_two_elements.cs │ ├── Fibers │ │ ├── when_throwing_exception_during_mailbox_process.cs │ │ ├── when_writing_high_volume_to_single_mailbox.cs │ │ ├── when_writing_in_parallel.cs │ │ ├── with_director.cs │ │ └── with_director_throwing_exceptions.cs │ ├── Hashing │ │ ├── Extensions.cs │ │ ├── MD5HashProvider.cs │ │ ├── MurmurExtensions.cs │ │ ├── when_hashing_32.cs │ │ ├── when_hashing_64.cs │ │ ├── when_hashing_md5.cs │ │ └── with_substantial_keyset.cs │ ├── Json │ │ ├── Collections │ │ │ ├── Car.cs │ │ │ ├── IGotsaNameYo.cs │ │ │ ├── Person.cs │ │ │ ├── Stuff.cs │ │ │ ├── when_serializing_interface_collection.cs │ │ │ └── with_collection_of_interface_type.cs │ │ ├── Decorator │ │ │ ├── Decorator.cs │ │ │ ├── HaveIdKeyAccessor.cs │ │ │ ├── IHaveKey.cs │ │ │ ├── Underlying.cs │ │ │ └── when_serializing_decorator.cs │ │ ├── Performance │ │ │ ├── IGotMessageForYou.cs │ │ │ ├── SerializationTarget.cs │ │ │ ├── when_serializing_one_thousand_items_with_binary.cs │ │ │ └── when_serializing_one_thousand_items_with_jsondotnet.cs │ │ ├── TestClass.cs │ │ ├── TestTarget.cs │ │ ├── when_adding_attachment_stub.cs │ │ ├── when_deserializing_attachments.cs │ │ ├── when_serializing_objects.cs │ │ └── when_serializing_string.cs │ ├── Log │ │ ├── when_logging_with_test_logger.cs │ │ ├── when_logging_without_initialization.cs │ │ ├── with_log_manager.cs │ │ └── with_test_logger.cs │ ├── Mementos │ │ ├── when_resetting_instance_from_memento.cs │ │ └── with_driver.cs │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── ProtoBuf │ │ ├── Base.cs │ │ ├── Class.cs │ │ └── when_serializaing_inherited_class.cs │ ├── Reflection │ │ ├── ChildTestClass.cs │ │ ├── Inheritence │ │ │ ├── InterfaceA.cs │ │ │ ├── InterfaceB.cs │ │ │ ├── MyBase.cs │ │ │ ├── MyClass.cs │ │ │ └── when_retrieving_inheritance_chain.cs │ │ ├── POC │ │ │ ├── when_reading_dynamically.cs │ │ │ ├── when_writing_dynamically.cs │ │ │ └── with_precompiled_read_cache.cs │ │ ├── TestClass.cs │ │ ├── when_reading_dynamically.cs │ │ └── when_writing_dynamically.cs │ ├── Serialization │ │ ├── Additive.cs │ │ ├── Extensions │ │ │ ├── FullyMarkedWithContract.cs │ │ │ ├── HasADefaultConstructor.cs │ │ │ ├── MarkedReadonlyProperties.cs │ │ │ ├── MarkedWithContractButNoDefaultConstructor.cs │ │ │ ├── NoDefaultConstructor.cs │ │ │ ├── PartiallyMarkedWithContract.cs │ │ │ ├── UnmarkedReadonlyProperties.cs │ │ │ └── when_using_serialization_extensions.cs │ │ ├── IHazId.cs │ │ ├── IHazIdKeyAccessor.cs │ │ ├── JsonSerializer.cs │ │ ├── JsonTypeSerializationBuilder.cs │ │ ├── Level1a.cs │ │ ├── Level1b.cs │ │ ├── Level2a.cs │ │ ├── Level2b.cs │ │ ├── Level2c.cs │ │ ├── Level3.cs │ │ ├── Root.cs │ │ └── with_ridiculous_model_instance.cs │ ├── StateMachine │ │ └── when_transitioning_state.cs │ ├── Trees │ │ ├── RedBlackTreeExtension.cs │ │ ├── when_adding_nodes_to_avl.cs │ │ ├── when_adding_nodes_to_hashed_avl.cs │ │ ├── when_adding_nodes_to_hashed_red_black.cs │ │ ├── when_adding_nodes_to_red_black.cs │ │ ├── when_removing_nodes_from_avl.cs │ │ ├── when_removing_nodes_from_hashed_avl.cs │ │ ├── when_removing_nodes_from_hashed_red_black.cs │ │ ├── when_removing_nodes_from_red_black.cs │ │ ├── with_populated_trees.cs │ │ ├── with_tree_operations.cs │ │ └── with_trees.cs │ ├── UnitOfWork │ │ ├── when_testing_Static_Event_Listeners.cs │ │ ├── when_testing_lifecycle.cs │ │ ├── when_testing_that_a_StaticDriverEventListener_receives_Events.cs │ │ ├── when_testing_that_a_StaticVehicleEventListener_receives_Events.cs │ │ └── with_EventListenerManager.cs │ ├── Utility │ │ ├── Futures │ │ │ ├── AsyncFakeOut.cs │ │ │ ├── when_using_future_async_call_in_loop.cs │ │ │ ├── when_using_future_coroutine.cs │ │ │ ├── when_using_future_coroutine_invoked_immediately.cs │ │ │ ├── when_using_future_coroutine_on_failure.cs │ │ │ ├── when_using_future_func.cs │ │ │ ├── when_using_future_func_in_loop.cs │ │ │ ├── when_using_future_func_with_retries.cs │ │ │ ├── with_callback.cs │ │ │ └── with_function_call.cs │ │ ├── ObserverCollection │ │ │ ├── TestObserver.cs │ │ │ ├── when_disposing_observer_token.cs │ │ │ └── with_observer.cs │ │ └── RingBuffer │ │ │ ├── when_doing_simple_math.cs │ │ │ ├── when_instantiating_buffer.cs │ │ │ └── with_buffer.cs │ ├── when_initializing_symbiote.cs │ └── with_assimilation.cs ├── Daemon.Tests │ ├── Daemon.Tests.csproj │ ├── Daemon.Tests.pidb │ ├── Locator │ │ └── when_loading_assembly_from_new_app.cs │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── when_checking_for_minion_key_accessor.cs │ └── with_assimilation.cs ├── Eidetic.Tests │ ├── Class1.cs │ ├── Eidetic.Tests.csproj │ ├── Eidetic.Tests.pidb │ └── Properties │ │ └── AssemblyInfo.cs ├── Http.Tests │ ├── Http.Tests.csproj │ ├── Http.Tests.pidb │ ├── Net │ │ └── when_adding_sockets_to_loop.cs │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── when_parsing_full_uri_get_request.cs │ ├── when_parsing_relative_get_request.cs │ ├── when_parsing_relative_put_request.cs │ ├── with_full_uri_get_request.cs │ ├── with_relative_get_request.cs │ ├── with_relative_put_request.cs │ └── with_timer.cs ├── Lucene.Tests │ ├── IndexFeeder.cs │ ├── Lucene.Tests.csproj │ ├── Lucene.Tests.pidb │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── concurrency │ │ ├── with_index_feeder.cs │ │ ├── with_index_on_disk.cs │ │ └── with_lucene.cs │ ├── when_searching.cs │ ├── when_searching_against_stored_index.cs │ ├── with_index_feeder.cs │ ├── with_index_on_disk.cs │ └── with_lucene.cs ├── Messaging.Tests │ ├── Channels │ │ └── Manager │ │ │ └── when_adding_definition.cs │ ├── Configuration │ │ └── when_checking_handlers.cs │ ├── Dispatcher │ │ ├── Ringu │ │ │ └── when_being_incredibly_awesome.cs │ │ └── when_loading_dispatch_memento.cs │ ├── Extensions │ │ ├── BaseType.cs │ │ ├── ChildType.cs │ │ ├── IndependentType.cs │ │ ├── InterfaceType.cs │ │ ├── when_checking_type_compatibility_for_compatible_types.cs │ │ └── when_checking_type_compatibility_for_incompatible_types.cs │ ├── FSM │ │ └── when_creating_an_fsm.cs │ ├── Local │ │ ├── Actor.cs.orig │ │ ├── HandleInterface │ │ │ ├── HandleMessages.cs │ │ │ ├── IAmAMessage.cs │ │ │ ├── MessageA.cs │ │ │ ├── MessageB.cs │ │ │ └── when_testing_handling_messages_with_common_interface.cs │ │ ├── Performance │ │ │ └── when_sending_a_million_messages.cs │ │ └── with_bus.cs │ ├── MessageSerializers │ │ ├── BinaryAndJsonMessage.cs │ │ ├── CompatibleMessage.cs │ │ ├── IncompatibleMessage.cs │ │ ├── JsonOnlyMessage.cs │ │ ├── when_detecting_serialization_options_for_compatible_message.cs │ │ ├── when_detecting_serialization_options_for_incompatible_message.cs │ │ ├── when_detecting_serialization_options_for_json_and_binary_message.cs │ │ ├── when_detecting_serialization_options_for_json_only_message.cs │ │ └── when_serializing_one_hundred_thousand_messages.cs │ ├── Messaging.Tests.csproj │ ├── Messaging.Tests.pidb │ ├── Pipes │ │ └── with_named_pipes.cs │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── RequestResponse │ │ ├── Auction.cs │ │ ├── AuctionFactory.cs │ │ ├── AuctionKeyAccessor.cs │ │ ├── AuctionKeyAccessor.cs.orig │ │ ├── AuctionStatus.cs │ │ ├── Bid.cs │ │ ├── BidProcessor.cs │ │ ├── MakeBid.cs │ │ ├── Reply.cs │ │ ├── Request.cs │ │ ├── RequestHandler.cs │ │ └── when_making_request.cs │ ├── Sagas │ │ ├── Person.cs │ │ ├── PersonFactory.cs │ │ ├── PersonKeyAccessor.cs │ │ ├── SetPersonName.cs │ │ ├── TestSaga.cs │ │ ├── when_requesting_saga.cs │ │ ├── when_sending_command_to_saga.cs │ │ └── with_bus.cs │ └── with_assimilation.cs ├── Mikado.Tests │ ├── Broken Rule Tests.cs │ ├── Domain │ │ ├── Model │ │ │ ├── AddressMemento.cs │ │ │ ├── IHaveAge.cs │ │ │ ├── IHaveDepartment.cs │ │ │ ├── IHaveFirstName.cs │ │ │ ├── IHaveLastName.cs │ │ │ ├── IManager.cs │ │ │ ├── IPerson.cs │ │ │ ├── ITestKey.cs │ │ │ ├── Manager.cs │ │ │ ├── ManagerMemento.cs │ │ │ ├── Person.cs │ │ │ ├── PersonMemento.cs │ │ │ └── TestKeyAccessor.cs │ │ ├── Rules │ │ │ ├── AgeMustBePositiveInteger.cs │ │ │ ├── DepartmentNameIsRequired.cs │ │ │ ├── FirstNameCannotExceedLengthLimit.cs │ │ │ ├── FirstNameCannotExceedLengthLimitRule.cs │ │ │ ├── LastNameCannotExceedLengthLimit.cs │ │ │ └── LastNameCannotExceedLengthLimitRule.cs │ │ └── TestSubscriber.cs │ ├── Mikado Context Tests - Manager.cs │ ├── Mikado Context Tests - Person.cs │ ├── Mikado Context Tests.cs │ ├── Mikado.Tests.csproj │ ├── Mikado.Tests.pidb │ ├── Passing Rule Tests.cs │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── Rule Index Loading Tests.cs │ ├── TestSetup │ │ ├── with_Manager.cs │ │ ├── with_Person.cs │ │ └── with_ioc_configuration.cs │ └── when_testing_rules_loaded_against_a_Manager_type.cs ├── Rabbit.Tests │ ├── Actor.cs │ ├── ActorKeyAccessor.cs │ ├── Envelope │ │ └── when_starting_with_untyped_envelope.cs │ ├── Message.cs │ ├── MessageHandler.cs │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── Rabbit.Tests.csproj │ ├── Rabbit.Tests.pidb │ ├── Request │ │ └── when_making_request.cs │ ├── when_sending_400000_messages_to_60_actors.cs │ ├── when_sending_messages.cs │ ├── with_assimilation.cs │ └── with_rabbit_configuration.cs ├── Riak.Tests │ ├── Class1.cs │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── Riak.Tests.csproj │ └── Riak.Tests.pidb └── Wcf.Tests │ ├── Class1.cs │ ├── ITestService.cs │ ├── Properties │ └── AssemblyInfo.cs │ ├── TestService.cs │ ├── Wcf.Tests.csproj │ ├── Wcf.Tests.pidb │ ├── when_calling_via_http_client.cs │ ├── when_calling_via_http_mex_client.cs │ ├── when_calling_via_nettcp_client.cs │ ├── when_calling_via_nettcp_mex_client.cs │ ├── when_calling_wcf_service_via_dynamic_proxy.cs │ ├── with_wcf_client.cs │ ├── with_wcf_http_client.cs │ ├── with_wcf_http_client_from_mex.cs │ ├── with_wcf_http_server.cs │ ├── with_wcf_nettcp_client.cs │ ├── with_wcf_nettcp_client_from_mex.cs │ ├── with_wcf_nettcp_server.cs │ └── with_wcf_server.cs └── tools ├── CustomBuildTargets └── Symbiote.Targets ├── ILMerge ├── ILMerge License.rtf ├── ILMerge.doc ├── ILMerge.exe └── ILMerge.exe.config ├── MSBuildCommunityTasks ├── ICSharpCode.SharpZipLib.dll ├── MSBuild.Community.Tasks.Targets ├── MSBuild.Community.Tasks.dll ├── MSBuild.Community.Tasks.pdb ├── MSBuild.Community.Tasks.xml ├── MSBuild.Community.Tasks.xsd └── NUnitReport.xsl └── NuGet ├── LICENSE.txt └── NuGet.exe /.gitignore: -------------------------------------------------------------------------------- 1 | _ReSharper.* 2 | Debug* 3 | Release* 4 | bin* 5 | obj* 6 | *.cache 7 | *.user 8 | *.suo 9 | Minions* 10 | *~HEAD -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright 2008-2010 Alex Robson 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. -------------------------------------------------------------------------------- /Solutions/Symbiote/packages/Antlr.3.1.3/Antlr.3.1.3.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/Solutions/Symbiote/packages/Antlr.3.1.3/Antlr.3.1.3.nupkg -------------------------------------------------------------------------------- /Solutions/Symbiote/packages/Antlr.3.1.3/lib/Antlr3.Runtime.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/Solutions/Symbiote/packages/Antlr.3.1.3/lib/Antlr3.Runtime.dll -------------------------------------------------------------------------------- /Solutions/Symbiote/packages/Castle.Core.2.5.1/Castle.Core.2.5.1.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/Solutions/Symbiote/packages/Castle.Core.2.5.1/Castle.Core.2.5.1.nupkg -------------------------------------------------------------------------------- /Solutions/Symbiote/packages/Castle.Core.2.5.1/lib/Changes.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/Solutions/Symbiote/packages/Castle.Core.2.5.1/lib/Changes.txt -------------------------------------------------------------------------------- /Solutions/Symbiote/packages/Castle.Core.2.5.1/lib/Committers.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/Solutions/Symbiote/packages/Castle.Core.2.5.1/lib/Committers.txt -------------------------------------------------------------------------------- /Solutions/Symbiote/packages/Castle.Core.2.5.1/lib/NET35/Castle.Core.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/Solutions/Symbiote/packages/Castle.Core.2.5.1/lib/NET35/Castle.Core.dll -------------------------------------------------------------------------------- /Solutions/Symbiote/packages/Castle.Core.2.5.1/lib/NET40ClientProfile/Castle.Core.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/Solutions/Symbiote/packages/Castle.Core.2.5.1/lib/NET40ClientProfile/Castle.Core.dll -------------------------------------------------------------------------------- /Solutions/Symbiote/packages/Castle.Core.2.5.1/lib/SL3/Castle.Core.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/Solutions/Symbiote/packages/Castle.Core.2.5.1/lib/SL3/Castle.Core.dll -------------------------------------------------------------------------------- /Solutions/Symbiote/packages/Castle.Core.2.5.1/lib/SL4/Castle.Core.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/Solutions/Symbiote/packages/Castle.Core.2.5.1/lib/SL4/Castle.Core.dll -------------------------------------------------------------------------------- /Solutions/Symbiote/packages/FluentNHibernate.1.1.1.694/FluentNHibernate.1.1.1.694.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/Solutions/Symbiote/packages/FluentNHibernate.1.1.1.694/FluentNHibernate.1.1.1.694.nupkg -------------------------------------------------------------------------------- /Solutions/Symbiote/packages/FluentNHibernate.1.1.1.694/lib/FluentNHibernate.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/Solutions/Symbiote/packages/FluentNHibernate.1.1.1.694/lib/FluentNHibernate.dll -------------------------------------------------------------------------------- /Solutions/Symbiote/packages/FluentNHibernate.1.1.1.694/lib/FluentNHibernate.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/Solutions/Symbiote/packages/FluentNHibernate.1.1.1.694/lib/FluentNHibernate.pdb -------------------------------------------------------------------------------- /Solutions/Symbiote/packages/Iesi.Collections.1.0.1/Iesi.Collections.1.0.1.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/Solutions/Symbiote/packages/Iesi.Collections.1.0.1/Iesi.Collections.1.0.1.nupkg -------------------------------------------------------------------------------- /Solutions/Symbiote/packages/Iesi.Collections.1.0.1/lib/Iesi.Collections.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/Solutions/Symbiote/packages/Iesi.Collections.1.0.1/lib/Iesi.Collections.dll -------------------------------------------------------------------------------- /Solutions/Symbiote/packages/NHibernate.Core.3.0.0.2001/NHibernate.Core.3.0.0.2001.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/Solutions/Symbiote/packages/NHibernate.Core.3.0.0.2001/NHibernate.Core.3.0.0.2001.nupkg -------------------------------------------------------------------------------- /Solutions/Symbiote/packages/NHibernate.Core.3.0.0.2001/lib/NHibernate.ByteCode.Castle.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/Solutions/Symbiote/packages/NHibernate.Core.3.0.0.2001/lib/NHibernate.ByteCode.Castle.dll -------------------------------------------------------------------------------- /Solutions/Symbiote/packages/NHibernate.Core.3.0.0.2001/lib/NHibernate.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/Solutions/Symbiote/packages/NHibernate.Core.3.0.0.2001/lib/NHibernate.dll -------------------------------------------------------------------------------- /Solutions/Symbiote/packages/NHibernate.Core.3.0.0.2001/lib/Remotion.Data.Linq.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/Solutions/Symbiote/packages/NHibernate.Core.3.0.0.2001/lib/Remotion.Data.Linq.dll -------------------------------------------------------------------------------- /demo/Memcached/MembaseDemo/app.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /demo/Messaging/LocalMessages/LocalMessages.userprefs: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /demo/Messaging/LocalMessages/LocalMessages/LocalMessages.pidb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/demo/Messaging/LocalMessages/LocalMessages/LocalMessages.pidb -------------------------------------------------------------------------------- /demo/Messaging/LocalMessages/LocalMessages/app.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /demo/Minion/Minion.Host/app.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /demo/Minion/Minion.Hosted/CommandHandler.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using Minion.Messages; 3 | using Symbiote.Core.Extensions; 4 | using Symbiote.Daemon; 5 | using Symbiote.Messaging; 6 | 7 | namespace Minion.Hosted 8 | { 9 | public class CommandHandler : IHandle 10 | { 11 | public Action Handle( MinionDoThis message ) 12 | { 13 | "Received: {0}".ToInfo( message.Text ); 14 | return x => x.Acknowledge(); 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /demo/Minion/Minion.Hosted/Program.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using Symbiote.Core; 3 | 4 | namespace Minion.Hosted 5 | { 6 | class Program 7 | { 8 | static void Main(string[] args) 9 | { 10 | Assimilate.Initialize(); 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /demo/Minion/Minion.Hosted/app.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /demo/Minion/Minion.Messages/MinionDoThis.cs: -------------------------------------------------------------------------------- 1 | using System.Runtime.Serialization; 2 | 3 | namespace Minion.Messages 4 | { 5 | [DataContract] 6 | public class MinionDoThis 7 | { 8 | [DataMember(Order = 1)] 9 | public string Text { get; set; } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /demo/Minion/Minion.Messages/MinionUp.cs: -------------------------------------------------------------------------------- 1 | using System.Runtime.Serialization; 2 | 3 | namespace Minion.Messages 4 | { 5 | [DataContract] 6 | public class MinionUp 7 | { 8 | [DataMember(Order = 1)] 9 | public string Text { get; set; } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /demo/Minion/New Microsoft Word Document.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/demo/Minion/New Microsoft Word Document.docx -------------------------------------------------------------------------------- /demo/Minion/New Text Document.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/demo/Minion/New Text Document.txt -------------------------------------------------------------------------------- /demo/NetGraphDemo/app.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /demo/Node/SimpleNode/EdgeNode/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace EdgeNode 7 | { 8 | class Program 9 | { 10 | static void Main(string[] args) 11 | { 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /demo/Node/SimpleNode/EdgeNode/app.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /demo/Node/SimpleNode/MeshNode/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace MeshNode 7 | { 8 | class Program 9 | { 10 | static void Main(string[] args) 11 | { 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /demo/Node/SimpleNode/MeshNode/app.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /demo/Node/SimpleNode/Messages/AccountBalance.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Runtime.Serialization; 5 | using System.Text; 6 | 7 | namespace Messages 8 | { 9 | [DataContract, Serializable] 10 | public class AccountBalance 11 | { 12 | [DataMember(Order = 1)] 13 | public string UserId { get; set; } 14 | [DataMember(Order = 2)] 15 | public decimal Amount { get; set; } 16 | 17 | public AccountBalance() {} 18 | 19 | public AccountBalance( string userId, decimal amount ) 20 | { 21 | UserId = userId; 22 | Amount = amount; 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /demo/Node/SimpleNode/Messages/DepositIntoAccount.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Runtime.Serialization; 3 | 4 | namespace Messages 5 | { 6 | [DataContract, Serializable] 7 | public class DepositIntoAccount 8 | { 9 | [DataMember(Order = 1)] 10 | public string UserId { get; set; } 11 | [DataMember(Order = 2)] 12 | public decimal Amount { get; set; } 13 | 14 | public DepositIntoAccount() {} 15 | 16 | public DepositIntoAccount( string userId, decimal amount ) 17 | { 18 | UserId = userId; 19 | Amount = amount; 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /demo/Node/SimpleNode/Messages/OpenNewAccount.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Runtime.Serialization; 3 | 4 | namespace Messages 5 | { 6 | [DataContract, Serializable] 7 | public class OpenNewAccount 8 | { 9 | [DataMember(Order = 1)] 10 | public string UserId { get; set; } 11 | [DataMember(Order = 2)] 12 | public decimal Amount { get; set; } 13 | 14 | public OpenNewAccount() { } 15 | 16 | public OpenNewAccount(string userId, decimal amount) 17 | { 18 | UserId = userId; 19 | Amount = amount; 20 | } 21 | } 22 | } -------------------------------------------------------------------------------- /demo/Node/SimpleNode/Messages/WithdrawFromAccount.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Runtime.Serialization; 3 | 4 | namespace Messages 5 | { 6 | [DataContract, Serializable] 7 | public class WithdrawFromAccount 8 | { 9 | [DataMember(Order = 1)] 10 | public string UserId { get; set; } 11 | [DataMember(Order = 2)] 12 | public decimal Amount { get; set; } 13 | 14 | public WithdrawFromAccount() {} 15 | 16 | public WithdrawFromAccount( string userId, decimal amount ) 17 | { 18 | UserId = userId; 19 | Amount = amount; 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /demo/Node/SimpleNode/Node.Console/Message.cs: -------------------------------------------------------------------------------- 1 | namespace Node.Console 2 | { 3 | public class Message 4 | { 5 | public string Text { get; set; } 6 | 7 | public Message() {} 8 | 9 | public Message( string text ) 10 | { 11 | Text = text; 12 | } 13 | 14 | public override string ToString() 15 | { 16 | return Text; 17 | } 18 | } 19 | } -------------------------------------------------------------------------------- /demo/Node/SimpleNode/Node.Console/Program.cs: -------------------------------------------------------------------------------- 1 | using Symbiote.Core; 2 | using Symbiote.Daemon; 3 | using Symbiote.Log4Net; 4 | using Symbiote.Rabbit; 5 | 6 | namespace Node.Console 7 | { 8 | public class Program 9 | { 10 | static void Main(string[] args) 11 | { 12 | Assimilate 13 | .Initialize() 14 | .Daemon( x => x.Arguments( args ).Name( "node" ) ) 15 | .Rabbit(x => x.AddBroker( b => b.Address( "localhost" ).AMQP091() ).EnrollAsMeshNode(false) ) 16 | .AddConsoleLogger( x => x.Debug().MessageLayout( m => m.Message().Newline() ) ) 17 | .RunDaemon(); 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /demo/Node/SimpleNode/Node.Console/app.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /demo/Node/SimpleNode/packages/Symbiote.Actor.0.1.0.48/Symbiote.Actor.0.1.0.48.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/demo/Node/SimpleNode/packages/Symbiote.Actor.0.1.0.48/Symbiote.Actor.0.1.0.48.nupkg -------------------------------------------------------------------------------- /demo/Node/SimpleNode/packages/Symbiote.Actor.0.1.0.48/lib/Symbiote.Actor.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/demo/Node/SimpleNode/packages/Symbiote.Actor.0.1.0.48/lib/Symbiote.Actor.dll -------------------------------------------------------------------------------- /demo/Node/SimpleNode/packages/Symbiote.Actor.0.1.0.48/lib/Symbiote.Actor.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/demo/Node/SimpleNode/packages/Symbiote.Actor.0.1.0.48/lib/Symbiote.Actor.pdb -------------------------------------------------------------------------------- /demo/Node/SimpleNode/packages/Symbiote.Actor.0.1.0.48/lib/Symbiote.Actor.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Symbiote.Actor 5 | 6 | 7 | -------------------------------------------------------------------------------- /demo/Node/SimpleNode/packages/Symbiote.Core.0.1.0.48/Symbiote.Core.0.1.0.48.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/demo/Node/SimpleNode/packages/Symbiote.Core.0.1.0.48/Symbiote.Core.0.1.0.48.nupkg -------------------------------------------------------------------------------- /demo/Node/SimpleNode/packages/Symbiote.Core.0.1.0.48/lib/Symbiote.Core.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/demo/Node/SimpleNode/packages/Symbiote.Core.0.1.0.48/lib/Symbiote.Core.dll -------------------------------------------------------------------------------- /demo/Node/SimpleNode/packages/Symbiote.Core.0.1.0.48/lib/Symbiote.Core.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/demo/Node/SimpleNode/packages/Symbiote.Core.0.1.0.48/lib/Symbiote.Core.pdb -------------------------------------------------------------------------------- /demo/Node/SimpleNode/packages/Symbiote.Messaging.0.1.0.48/Symbiote.Messaging.0.1.0.48.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/demo/Node/SimpleNode/packages/Symbiote.Messaging.0.1.0.48/Symbiote.Messaging.0.1.0.48.nupkg -------------------------------------------------------------------------------- /demo/Node/SimpleNode/packages/Symbiote.Messaging.0.1.0.48/lib/Symbiote.Messaging.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/demo/Node/SimpleNode/packages/Symbiote.Messaging.0.1.0.48/lib/Symbiote.Messaging.dll -------------------------------------------------------------------------------- /demo/Node/SimpleNode/packages/Symbiote.Messaging.0.1.0.48/lib/Symbiote.Messaging.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/demo/Node/SimpleNode/packages/Symbiote.Messaging.0.1.0.48/lib/Symbiote.Messaging.pdb -------------------------------------------------------------------------------- /demo/Node/SimpleNode/packages/Symbiote.Messaging.0.1.0.48/lib/Symbiote.Messaging.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Symbiote.Messaging 5 | 6 | 7 | -------------------------------------------------------------------------------- /demo/Node/SimpleNode/packages/Symbiote.Rabbit.0.1.0.46/Symbiote.Rabbit.0.1.0.46.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/demo/Node/SimpleNode/packages/Symbiote.Rabbit.0.1.0.46/Symbiote.Rabbit.0.1.0.46.nupkg -------------------------------------------------------------------------------- /demo/Node/SimpleNode/packages/Symbiote.Rabbit.0.1.0.46/lib/Symbiote.Rabbit.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/demo/Node/SimpleNode/packages/Symbiote.Rabbit.0.1.0.46/lib/Symbiote.Rabbit.dll -------------------------------------------------------------------------------- /demo/Node/SimpleNode/packages/Symbiote.Rabbit.0.1.0.46/lib/Symbiote.Rabbit.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/demo/Node/SimpleNode/packages/Symbiote.Rabbit.0.1.0.46/lib/Symbiote.Rabbit.pdb -------------------------------------------------------------------------------- /demo/Node/SimpleNode/packages/Symbiote.Rabbit.0.1.0.46/lib/Symbiote.Rabbit.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Symbiote.Rabbit 5 | 6 | 7 | -------------------------------------------------------------------------------- /demo/Rabbit/ConsoleApplication1/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace ConsoleApplication1 7 | { 8 | class Program 9 | { 10 | static void Main(string[] args) 11 | { 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /demo/Rabbit/RabbitDemo.Messages/Class1.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Runtime.Serialization; 3 | 4 | namespace RabbitDemo.Messages 5 | { 6 | //[DataContract] 7 | public class Message 8 | { 9 | //[DataMember(Order = 1)] 10 | public string CorrelationId { get; set; } 11 | //[DataMember(Order = 2)] 12 | public int MessageId { get; set; } 13 | //[DataMember(Order = 3)] 14 | public DateTime TimeStamp { get; set; } 15 | 16 | public Message() {} 17 | 18 | public Message(string correlationId, int id) 19 | { 20 | CorrelationId = correlationId; 21 | MessageId = id; 22 | TimeStamp = DateTime.UtcNow; 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /demo/Rabbit/RabbitDemo.Messages/RabbitDemo.Messages.pidb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/demo/Rabbit/RabbitDemo.Messages/RabbitDemo.Messages.pidb -------------------------------------------------------------------------------- /demo/Rabbit/RabbitDemo.Publisher/RabbitDemo.Publisher.pidb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/demo/Rabbit/RabbitDemo.Publisher/RabbitDemo.Publisher.pidb -------------------------------------------------------------------------------- /demo/Rabbit/RabbitDemo.Publisher/app.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /demo/Rabbit/RabbitDemo.Subscriber/RabbitDemo.Subscriber.pidb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/demo/Rabbit/RabbitDemo.Subscriber/RabbitDemo.Subscriber.pidb -------------------------------------------------------------------------------- /demo/Rabbit/RabbitDemo.Subscriber/app.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /demo/Rabbit/RequestResponse/RequestResponse/app.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /demo/Rabbit/ping-pong/Class1.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace ping_pong 7 | { 8 | public class Class1 9 | { 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /demo/Rabbit/ping/app.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /demo/Rabbit/pingpong.messages/Ping.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace pingpong.messages 7 | { 8 | public class Ping 9 | { 10 | public string Message { get; set; } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /demo/Rabbit/pingpong.messages/Pong.cs: -------------------------------------------------------------------------------- 1 | namespace pingpong.messages 2 | { 3 | public class Pong 4 | { 5 | public string Message { get; set; } 6 | } 7 | } -------------------------------------------------------------------------------- /demo/Rabbit/pong/app.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /demo/Redis/RedisDemo/app.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /demo/Riak/RiakDemo/app.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /demo/SocketMQ/SocketMQ.ChatClient/Controllers/HomeController.cs: -------------------------------------------------------------------------------- 1 | using System.Web.Mvc; 2 | 3 | namespace SocketMQ.ChatClient.Controllers 4 | { 5 | [HandleError] 6 | public class HomeController : Controller 7 | { 8 | public ActionResult Index() 9 | { 10 | return View(); 11 | } 12 | 13 | public ActionResult About() 14 | { 15 | return View(); 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /demo/SocketMQ/SocketMQ.ChatClient/Global.asax: -------------------------------------------------------------------------------- 1 | <%@ Application Codebehind="Global.asax.cs" Inherits="SocketMQ.ChatClient.MvcApplication" Language="C#" %> 2 | -------------------------------------------------------------------------------- /demo/SocketMQ/SocketMQ.ChatClient/Scripts/WebSocketMain.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/demo/SocketMQ/SocketMQ.ChatClient/Scripts/WebSocketMain.swf -------------------------------------------------------------------------------- /demo/SocketMQ/SocketMQ.ChatClient/Views/Home/About.spark: -------------------------------------------------------------------------------- 1 |  2 | About Us 3 | 4 | 5 | 6 |

About

7 |

8 | Put content here. 9 |

10 |
-------------------------------------------------------------------------------- /demo/SocketMQ/SocketMQ.ChatClient/Views/Shared/Error.spark: -------------------------------------------------------------------------------- 1 |  2 | Error 3 | 4 | 5 | 6 |

7 | Sorry, an error occurred while processing your request. 8 |

9 |
10 | -------------------------------------------------------------------------------- /demo/SocketMQ/SocketMQ.ChatClient/Views/Shared/_LogOnUserControl.spark: -------------------------------------------------------------------------------- 1 |  2 | Welcome !{Context.User.Identity.Name}! 3 | [ !{ Html.ActionLink("Log Off", "LogOff", "Account") } ] 4 | 5 | 6 | [ !{ Html.ActionLink("Log On", "LogOn", "Account") } ] 7 | -------------------------------------------------------------------------------- /demo/SocketMQ/SocketMQ.ChatClient/Views/Shared/_global.spark: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | -------------------------------------------------------------------------------- /demo/SocketMQ/SocketMQ.ChatService/ClientMessage.cs: -------------------------------------------------------------------------------- 1 | namespace SocketMQ.ChatService 2 | { 3 | public class ClientMessage 4 | { 5 | public string From { get; set; } 6 | public string Body { get; set; } 7 | } 8 | } -------------------------------------------------------------------------------- /demo/SocketMQ/WebSocketService/app.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /lib/CommandLineParser/CommandLine.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/CommandLineParser/CommandLine.dll -------------------------------------------------------------------------------- /lib/Lucene/Lucene.Net.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/Lucene/Lucene.Net.dll -------------------------------------------------------------------------------- /lib/Lucene/Lucene.Net.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/Lucene/Lucene.Net.pdb -------------------------------------------------------------------------------- /lib/MSpec/CommandLine.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/MSpec/CommandLine.dll -------------------------------------------------------------------------------- /lib/MSpec/InstallResharperRunner.4.1.bat: -------------------------------------------------------------------------------- 1 | mkdir "%APPDATA%\JetBrains\ReSharper\v4.1\vs9.0\Plugins" 2 | copy Machine.Specifications.dll "%APPDATA%\JetBrains\ReSharper\v4.1\vs9.0\Plugins" 3 | copy Machine.Specifications.pdb "%APPDATA%\JetBrains\ReSharper\v4.1\vs9.0\Plugins" 4 | copy Machine.Specifications.ReSharperRunner.4.1.dll "%APPDATA%\JetBrains\ReSharper\v4.1\vs9.0\Plugins" 5 | copy Machine.Specifications.ReSharperRunner.4.1.pdb "%APPDATA%\JetBrains\ReSharper\v4.1\vs9.0\Plugins" 6 | 7 | -------------------------------------------------------------------------------- /lib/MSpec/InstallResharperRunner.4.5.bat: -------------------------------------------------------------------------------- 1 | mkdir "%APPDATA%\JetBrains\ReSharper\v4.5\vs9.0\Plugins" 2 | copy Machine.Specifications.dll "%APPDATA%\JetBrains\ReSharper\v4.5\vs9.0\Plugins" 3 | copy Machine.Specifications.pdb "%APPDATA%\JetBrains\ReSharper\v4.5\vs9.0\Plugins" 4 | copy Machine.Specifications.ReSharperRunner.4.5.dll "%APPDATA%\JetBrains\ReSharper\v4.5\vs9.0\Plugins" 5 | copy Machine.Specifications.ReSharperRunner.4.5.pdb "%APPDATA%\JetBrains\ReSharper\v4.5\vs9.0\Plugins" 6 | 7 | -------------------------------------------------------------------------------- /lib/MSpec/InstallResharperRunner.5.0 - VS2008.bat: -------------------------------------------------------------------------------- 1 | mkdir "%APPDATA%\JetBrains\ReSharper\v5.0\vs9.0\Plugins" 2 | copy Machine.Specifications.dll "%APPDATA%\JetBrains\ReSharper\v5.0\vs9.0\Plugins" 3 | copy Machine.Specifications.pdb "%APPDATA%\JetBrains\ReSharper\v5.0\vs9.0\Plugins" 4 | copy Machine.Specifications.ReSharperRunner.5.0.dll "%APPDATA%\JetBrains\ReSharper\v5.0\vs9.0\Plugins" 5 | copy Machine.Specifications.ReSharperRunner.5.0.pdb "%APPDATA%\JetBrains\ReSharper\v5.0\vs9.0\Plugins" 6 | 7 | -------------------------------------------------------------------------------- /lib/MSpec/InstallResharperRunner.5.0 - VS2010.bat: -------------------------------------------------------------------------------- 1 | mkdir "%APPDATA%\JetBrains\ReSharper\v5.0\vs10.0\Plugins" 2 | copy Machine.Specifications.dll "%APPDATA%\JetBrains\ReSharper\v5.0\vs10.0\Plugins" 3 | copy Machine.Specifications.pdb "%APPDATA%\JetBrains\ReSharper\v5.0\vs10.0\Plugins" 4 | copy Machine.Specifications.ReSharperRunner.5.0.dll "%APPDATA%\JetBrains\ReSharper\v5.0\vs10.0\Plugins" 5 | copy Machine.Specifications.ReSharperRunner.5.0.pdb "%APPDATA%\JetBrains\ReSharper\v5.0\vs10.0\Plugins" 6 | 7 | -------------------------------------------------------------------------------- /lib/MSpec/InstallResharperRunner.5.1 - VS2008.bat: -------------------------------------------------------------------------------- 1 | mkdir "%APPDATA%\JetBrains\ReSharper\v5.1\vs9.0\Plugins" 2 | copy Machine.Specifications.dll "%APPDATA%\JetBrains\ReSharper\v5.1\vs9.0\Plugins" 3 | copy Machine.Specifications.pdb "%APPDATA%\JetBrains\ReSharper\v5.1\vs9.0\Plugins" 4 | copy Machine.Specifications.ReSharperRunner.5.1.dll "%APPDATA%\JetBrains\ReSharper\v5.1\vs9.0\Plugins" 5 | copy Machine.Specifications.ReSharperRunner.5.1.pdb "%APPDATA%\JetBrains\ReSharper\v5.1\vs9.0\Plugins" 6 | 7 | -------------------------------------------------------------------------------- /lib/MSpec/InstallResharperRunner.5.1 - VS2010.bat: -------------------------------------------------------------------------------- 1 | mkdir "%APPDATA%\JetBrains\ReSharper\v5.1\vs10.0\Plugins" 2 | copy Machine.Specifications.dll "%APPDATA%\JetBrains\ReSharper\v5.1\vs10.0\Plugins" 3 | copy Machine.Specifications.pdb "%APPDATA%\JetBrains\ReSharper\v5.1\vs10.0\Plugins" 4 | copy Machine.Specifications.ReSharperRunner.5.1.dll "%APPDATA%\JetBrains\ReSharper\v5.1\vs10.0\Plugins" 5 | copy Machine.Specifications.ReSharperRunner.5.1.pdb "%APPDATA%\JetBrains\ReSharper\v5.1\vs10.0\Plugins" 6 | 7 | -------------------------------------------------------------------------------- /lib/MSpec/InstallTDNetRunner.bat: -------------------------------------------------------------------------------- 1 | @echo off & if not "%ECHO%"=="" echo %ECHO% 2 | 3 | setlocal 4 | set LOCALDIR=%~dp0 5 | 6 | echo Windows Registry Editor Version 5.00 > MSpecTDNet.reg 7 | echo [HKEY_CURRENT_USER\Software\MutantDesign\TestDriven.NET\TestRunners\MSpec] >> MSpecTDNet.reg 8 | echo "Application"="" >> MSpecTDNet.reg 9 | echo "AssemblyPath"="%LOCALDIR:\=\\%Machine.Specifications.TDNetRunner.dll" >> MSpecTDNet.reg 10 | echo "TargetFrameworkAssemblyName"="Machine.Specifications" >> MSpecTDNet.reg 11 | echo "TypeName"="Machine.Specifications.TDNetRunner.SpecificationRunner" >> MSpecTDNet.reg 12 | echo @="5" >> MSpecTDNet.reg 13 | 14 | regedit MSpecTDNet.reg 15 | 16 | del MSpecTDNet.reg 17 | -------------------------------------------------------------------------------- /lib/MSpec/InstallTDNetRunnerSilent.bat: -------------------------------------------------------------------------------- 1 | @echo off & if not "%ECHO%"=="" echo %ECHO% 2 | 3 | setlocal 4 | set LOCALDIR=%~dp0 5 | 6 | echo Windows Registry Editor Version 5.00 > MSpecTDNet.reg 7 | echo [HKEY_CURRENT_USER\Software\MutantDesign\TestDriven.NET\TestRunners\MSpec] >> MSpecTDNet.reg 8 | echo "Application"="" >> MSpecTDNet.reg 9 | echo "AssemblyPath"="%LOCALDIR:\=\\%Machine.Specifications.TDNetRunner.dll" >> MSpecTDNet.reg 10 | echo "TargetFrameworkAssemblyName"="Machine.Specifications" >> MSpecTDNet.reg 11 | echo "TypeName"="Machine.Specifications.TDNetRunner.SpecificationRunner" >> MSpecTDNet.reg 12 | echo @="5" >> MSpecTDNet.reg 13 | 14 | regedit /s MSpecTDNet.reg 15 | 16 | del MSpecTDNet.reg 17 | -------------------------------------------------------------------------------- /lib/MSpec/Machine.Specifications.GallioAdapter.3.1.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/MSpec/Machine.Specifications.GallioAdapter.3.1.dll -------------------------------------------------------------------------------- /lib/MSpec/Machine.Specifications.GallioAdapter.3.1.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/MSpec/Machine.Specifications.GallioAdapter.3.1.pdb -------------------------------------------------------------------------------- /lib/MSpec/Machine.Specifications.GallioAdapter.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/MSpec/Machine.Specifications.GallioAdapter.dll -------------------------------------------------------------------------------- /lib/MSpec/Machine.Specifications.GallioAdapter.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/MSpec/Machine.Specifications.GallioAdapter.pdb -------------------------------------------------------------------------------- /lib/MSpec/Machine.Specifications.ReSharperRunner.4.1.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/MSpec/Machine.Specifications.ReSharperRunner.4.1.dll -------------------------------------------------------------------------------- /lib/MSpec/Machine.Specifications.ReSharperRunner.4.1.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/MSpec/Machine.Specifications.ReSharperRunner.4.1.pdb -------------------------------------------------------------------------------- /lib/MSpec/Machine.Specifications.ReSharperRunner.4.5.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/MSpec/Machine.Specifications.ReSharperRunner.4.5.dll -------------------------------------------------------------------------------- /lib/MSpec/Machine.Specifications.ReSharperRunner.4.5.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/MSpec/Machine.Specifications.ReSharperRunner.4.5.pdb -------------------------------------------------------------------------------- /lib/MSpec/Machine.Specifications.ReSharperRunner.5.0.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/MSpec/Machine.Specifications.ReSharperRunner.5.0.dll -------------------------------------------------------------------------------- /lib/MSpec/Machine.Specifications.ReSharperRunner.5.0.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/MSpec/Machine.Specifications.ReSharperRunner.5.0.pdb -------------------------------------------------------------------------------- /lib/MSpec/Machine.Specifications.ReSharperRunner.5.1.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/MSpec/Machine.Specifications.ReSharperRunner.5.1.dll -------------------------------------------------------------------------------- /lib/MSpec/Machine.Specifications.ReSharperRunner.5.1.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/MSpec/Machine.Specifications.ReSharperRunner.5.1.pdb -------------------------------------------------------------------------------- /lib/MSpec/Machine.Specifications.Reporting.Templates.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/MSpec/Machine.Specifications.Reporting.Templates.dll -------------------------------------------------------------------------------- /lib/MSpec/Machine.Specifications.Reporting.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/MSpec/Machine.Specifications.Reporting.dll -------------------------------------------------------------------------------- /lib/MSpec/Machine.Specifications.Reporting.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/MSpec/Machine.Specifications.Reporting.pdb -------------------------------------------------------------------------------- /lib/MSpec/Machine.Specifications.SeleniumSupport.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/MSpec/Machine.Specifications.SeleniumSupport.dll -------------------------------------------------------------------------------- /lib/MSpec/Machine.Specifications.SeleniumSupport.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/MSpec/Machine.Specifications.SeleniumSupport.pdb -------------------------------------------------------------------------------- /lib/MSpec/Machine.Specifications.TDNetRunner.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/MSpec/Machine.Specifications.TDNetRunner.dll -------------------------------------------------------------------------------- /lib/MSpec/Machine.Specifications.TDNetRunner.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/MSpec/Machine.Specifications.TDNetRunner.pdb -------------------------------------------------------------------------------- /lib/MSpec/Machine.Specifications.WatinSupport.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/MSpec/Machine.Specifications.WatinSupport.dll -------------------------------------------------------------------------------- /lib/MSpec/Machine.Specifications.WatinSupport.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/MSpec/Machine.Specifications.WatinSupport.pdb -------------------------------------------------------------------------------- /lib/MSpec/Machine.Specifications.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/MSpec/Machine.Specifications.dll -------------------------------------------------------------------------------- /lib/MSpec/Machine.Specifications.dll.tdnet: -------------------------------------------------------------------------------- 1 | 2 | Machine.Specifications 0.4.0-no SHA 3 | Machine.Specifications.TDNetRunner.dll 4 | Machine.Specifications.TDNetRunner.SpecificationRunner 5 | 6 | -------------------------------------------------------------------------------- /lib/MSpec/Machine.Specifications.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/MSpec/Machine.Specifications.pdb -------------------------------------------------------------------------------- /lib/MSpec/Newtonsoft.Json.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/MSpec/Newtonsoft.Json.dll -------------------------------------------------------------------------------- /lib/MSpec/Spark.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/MSpec/Spark.dll -------------------------------------------------------------------------------- /lib/MSpec/Spark.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/MSpec/Spark.pdb -------------------------------------------------------------------------------- /lib/MSpec/TestDriven.Framework.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/MSpec/TestDriven.Framework.dll -------------------------------------------------------------------------------- /lib/MSpec/ThoughtWorks.Selenium.Core.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/MSpec/ThoughtWorks.Selenium.Core.dll -------------------------------------------------------------------------------- /lib/MSpec/ThoughtWorks.Selenium.Core.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/MSpec/ThoughtWorks.Selenium.Core.pdb -------------------------------------------------------------------------------- /lib/MSpec/WatiN.Core.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/MSpec/WatiN.Core.dll -------------------------------------------------------------------------------- /lib/MSpec/mspec-clr4.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/MSpec/mspec-clr4.exe -------------------------------------------------------------------------------- /lib/MSpec/mspec-clr4.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/MSpec/mspec-clr4.pdb -------------------------------------------------------------------------------- /lib/MSpec/mspec-x86-clr4.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/MSpec/mspec-x86-clr4.exe -------------------------------------------------------------------------------- /lib/MSpec/mspec-x86-clr4.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/MSpec/mspec-x86-clr4.pdb -------------------------------------------------------------------------------- /lib/MSpec/mspec-x86.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/MSpec/mspec-x86.exe -------------------------------------------------------------------------------- /lib/MSpec/mspec-x86.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/MSpec/mspec-x86.pdb -------------------------------------------------------------------------------- /lib/MSpec/mspec.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/MSpec/mspec.exe -------------------------------------------------------------------------------- /lib/MSpec/mspec.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/MSpec/mspec.pdb -------------------------------------------------------------------------------- /lib/Memcached/Enyim.Caching.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/Memcached/Enyim.Caching.dll -------------------------------------------------------------------------------- /lib/Memcached/Enyim.Caching.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/Memcached/Enyim.Caching.pdb -------------------------------------------------------------------------------- /lib/Memcached/log4net.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/Memcached/log4net.dll -------------------------------------------------------------------------------- /lib/Moq.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/Moq.dll -------------------------------------------------------------------------------- /lib/Moq.dll.lastcodeanalysissucceeded: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/Moq.dll.lastcodeanalysissucceeded -------------------------------------------------------------------------------- /lib/Moq.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/Moq.pdb -------------------------------------------------------------------------------- /lib/NHibernate/Antlr3.Runtime.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/NHibernate/Antlr3.Runtime.dll -------------------------------------------------------------------------------- /lib/NHibernate/Archive/Antlr3.Runtime.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/NHibernate/Archive/Antlr3.Runtime.dll -------------------------------------------------------------------------------- /lib/NHibernate/Archive/Castle.Core.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/NHibernate/Archive/Castle.Core.dll -------------------------------------------------------------------------------- /lib/NHibernate/Archive/FluentNHibernate.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/NHibernate/Archive/FluentNHibernate.dll -------------------------------------------------------------------------------- /lib/NHibernate/Archive/FluentNHibernate.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/NHibernate/Archive/FluentNHibernate.pdb -------------------------------------------------------------------------------- /lib/NHibernate/Archive/Iesi.Collections.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/NHibernate/Archive/Iesi.Collections.dll -------------------------------------------------------------------------------- /lib/NHibernate/Archive/NHibernate.ByteCode.Castle.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/NHibernate/Archive/NHibernate.ByteCode.Castle.dll -------------------------------------------------------------------------------- /lib/NHibernate/Archive/NHibernate.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/NHibernate/Archive/NHibernate.dll -------------------------------------------------------------------------------- /lib/NHibernate/Archive/Remotion.Data.Linq.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/NHibernate/Archive/Remotion.Data.Linq.dll -------------------------------------------------------------------------------- /lib/NHibernate/Castle.Core.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/NHibernate/Castle.Core.dll -------------------------------------------------------------------------------- /lib/NHibernate/FluentNHibernate.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/NHibernate/FluentNHibernate.dll -------------------------------------------------------------------------------- /lib/NHibernate/FluentNHibernate.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/NHibernate/FluentNHibernate.pdb -------------------------------------------------------------------------------- /lib/NHibernate/Iesi.Collections.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/NHibernate/Iesi.Collections.dll -------------------------------------------------------------------------------- /lib/NHibernate/NHibernate.ByteCode.Castle.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/NHibernate/NHibernate.ByteCode.Castle.dll -------------------------------------------------------------------------------- /lib/NHibernate/NHibernate.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/NHibernate/NHibernate.dll -------------------------------------------------------------------------------- /lib/NHibernate/Remotion.Data.Linq.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/NHibernate/Remotion.Data.Linq.dll -------------------------------------------------------------------------------- /lib/Ninject/Ninject.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/Ninject/Ninject.dll -------------------------------------------------------------------------------- /lib/RabbitMQ/LICENSE: -------------------------------------------------------------------------------- 1 | This package, the RabbitMQ .NET client library, is dual-licensed under 2 | the Apache License v2 and the Mozilla Public License v1.1. 3 | 4 | For the Apache License, please see the file LICENSE-APACHE2. 5 | 6 | For the Mozilla Public License, please see the file LICENSE-MPL-RabbitMQ. 7 | 8 | For attribution of copyright and other details of provenance, please 9 | refer to the source code. 10 | 11 | If you have any questions regarding licensing, please contact us at 12 | info@rabbitmq.com. 13 | -------------------------------------------------------------------------------- /lib/RabbitMQ/RabbitMQ.Client.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/RabbitMQ/RabbitMQ.Client.dll -------------------------------------------------------------------------------- /lib/RabbitMQ/RabbitMQ.ServiceModel.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/RabbitMQ/RabbitMQ.ServiceModel.dll -------------------------------------------------------------------------------- /lib/ReactiveExtensions/Silverlight/System.CoreEx.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/ReactiveExtensions/Silverlight/System.CoreEx.dll -------------------------------------------------------------------------------- /lib/ReactiveExtensions/Silverlight/System.Interactive.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/ReactiveExtensions/Silverlight/System.Interactive.dll -------------------------------------------------------------------------------- /lib/ReactiveExtensions/Silverlight/System.Observable.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/ReactiveExtensions/Silverlight/System.Observable.dll -------------------------------------------------------------------------------- /lib/ReactiveExtensions/Silverlight/System.Reactive.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/ReactiveExtensions/Silverlight/System.Reactive.dll -------------------------------------------------------------------------------- /lib/ReactiveExtensions/System.CoreEx.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/ReactiveExtensions/System.CoreEx.dll -------------------------------------------------------------------------------- /lib/ReactiveExtensions/System.Interactive.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/ReactiveExtensions/System.Interactive.dll -------------------------------------------------------------------------------- /lib/ReactiveExtensions/System.Linq.Async.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/ReactiveExtensions/System.Linq.Async.dll -------------------------------------------------------------------------------- /lib/ReactiveExtensions/System.Linq.Async.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | System.Linq.Async 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /lib/ReactiveExtensions/System.Reactive.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/ReactiveExtensions/System.Reactive.dll -------------------------------------------------------------------------------- /lib/StructureMap/StructureMap.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/StructureMap/StructureMap.dll -------------------------------------------------------------------------------- /lib/log4net/log4net.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/log4net/log4net.dll -------------------------------------------------------------------------------- /lib/zlib.net.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/lib/zlib.net.dll -------------------------------------------------------------------------------- /misc/Experimental/Symbiote.Net/HttpResponse.cs: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2008-2010 Alex Robson 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | namespace Symbiote.Net 18 | { 19 | public class HttpResponse 20 | { 21 | 22 | } 23 | } -------------------------------------------------------------------------------- /packs/Symbiote.Actor.0.1.0.0.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/packs/Symbiote.Actor.0.1.0.0.nupkg -------------------------------------------------------------------------------- /packs/Symbiote.Core.0.1.0.0.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/packs/Symbiote.Core.0.1.0.0.nupkg -------------------------------------------------------------------------------- /packs/Symbiote.Couch.0.1.0.0.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/packs/Symbiote.Couch.0.1.0.0.nupkg -------------------------------------------------------------------------------- /packs/Symbiote.Daemon.0.1.0.0.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/packs/Symbiote.Daemon.0.1.0.0.nupkg -------------------------------------------------------------------------------- /packs/Symbiote.Eidetic.0.1.0.0.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/packs/Symbiote.Eidetic.0.1.0.0.nupkg -------------------------------------------------------------------------------- /packs/Symbiote.JsonRpc.Client.0.1.0.0.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/packs/Symbiote.JsonRpc.Client.0.1.0.0.nupkg -------------------------------------------------------------------------------- /packs/Symbiote.JsonRpc.Host.0.1.0.0.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/packs/Symbiote.JsonRpc.Host.0.1.0.0.nupkg -------------------------------------------------------------------------------- /packs/Symbiote.Log4Net.0.1.0.0.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/packs/Symbiote.Log4Net.0.1.0.0.nupkg -------------------------------------------------------------------------------- /packs/Symbiote.Lucene.0.1.0.0.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/packs/Symbiote.Lucene.0.1.0.0.nupkg -------------------------------------------------------------------------------- /packs/Symbiote.Messaging.0.1.0.0.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/packs/Symbiote.Messaging.0.1.0.0.nupkg -------------------------------------------------------------------------------- /packs/Symbiote.Rabbit.0.1.0.0.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/packs/Symbiote.Rabbit.0.1.0.0.nupkg -------------------------------------------------------------------------------- /packs/Symbiote.Redis.0.1.0.0.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/packs/Symbiote.Redis.0.1.0.0.nupkg -------------------------------------------------------------------------------- /packs/Symbiote.StructureMap.0.1.0.0.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/packs/Symbiote.StructureMap.0.1.0.0.nupkg -------------------------------------------------------------------------------- /packs/Symbiote.Wcf.0.1.0.0.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/packs/Symbiote.Wcf.0.1.0.0.nupkg -------------------------------------------------------------------------------- /scripts/WebSocketMain.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/scripts/WebSocketMain.swf -------------------------------------------------------------------------------- /src/Newtonsoft.Json/Lib/LinqBridge.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/src/Newtonsoft.Json/Lib/LinqBridge.dll -------------------------------------------------------------------------------- /src/Newtonsoft.Json/Lib/NUnit/Compact/NUnitLite.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/src/Newtonsoft.Json/Lib/NUnit/Compact/NUnitLite.dll -------------------------------------------------------------------------------- /src/Newtonsoft.Json/Lib/NUnit/DotNet/nunit.framework.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/src/Newtonsoft.Json/Lib/NUnit/DotNet/nunit.framework.dll -------------------------------------------------------------------------------- /src/Newtonsoft.Json/Lib/NUnit/Silverlight/nunit.framework.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/src/Newtonsoft.Json/Lib/NUnit/Silverlight/nunit.framework.dll -------------------------------------------------------------------------------- /src/Newtonsoft.Json/Newtonsoft.Json.Tests/LinqToSql/Department.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel.DataAnnotations; 4 | using System.Data.Linq; 5 | using System.Linq; 6 | using System.Text; 7 | 8 | namespace Newtonsoft.Json.Tests.LinqToSql 9 | { 10 | [MetadataType(typeof(DepartmentMetadata))] 11 | public partial class Department 12 | { 13 | [JsonConverter(typeof(DepartmentConverter))] 14 | public class DepartmentMetadata 15 | { 16 | } 17 | } 18 | } -------------------------------------------------------------------------------- /src/Newtonsoft.Json/Newtonsoft.Json.Tests/LinqToSql/Person.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel.DataAnnotations; 4 | using System.Linq; 5 | using System.Text; 6 | 7 | namespace Newtonsoft.Json.Tests.LinqToSql 8 | { 9 | [MetadataType(typeof(PersonMetadata))] 10 | public partial class Person 11 | { 12 | public class PersonMetadata 13 | { 14 | [JsonProperty("first_name")] 15 | public string FirstName { get; set; } 16 | } 17 | } 18 | } -------------------------------------------------------------------------------- /src/Newtonsoft.Json/Newtonsoft.Json.Tests/LinqToSql/Role.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel.DataAnnotations; 4 | using System.Data.Linq; 5 | using System.Linq; 6 | using System.Text; 7 | 8 | namespace Newtonsoft.Json.Tests.LinqToSql 9 | { 10 | [MetadataType(typeof(RoleMetadata))] 11 | public partial class Role 12 | { 13 | public class RoleMetadata 14 | { 15 | [JsonConverter(typeof(GuidByteArrayConverter))] 16 | public Guid RoleId { get; set; } 17 | [JsonIgnore] 18 | public EntitySet PersonRoles { get; set; } 19 | } 20 | } 21 | } -------------------------------------------------------------------------------- /src/Newtonsoft.Json/Newtonsoft.Json.Tests/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/src/Newtonsoft.Json/Newtonsoft.Json.Tests/Properties/AssemblyInfo.cs -------------------------------------------------------------------------------- /src/Newtonsoft.Json/Newtonsoft.Json.Tests/SilverlightTests.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Reflection; 3 | using NUnit.Framework; 4 | 5 | namespace Newtonsoft.Json.Tests 6 | { 7 | // todo: need to fix this to get WP unit tests running off right dlls 8 | #if SILVERLIGHT 9 | [TestFixture] 10 | public class SilverlightTests 11 | { 12 | [Test] 13 | public void SystemVersion() 14 | { 15 | Assembly systemAssembly = typeof(Uri).Assembly; 16 | StringAssert.Contains("=4.0.0.0,", systemAssembly.FullName, 17 | "Check we're testing a Silverlight 4.0 assembly"); 18 | } 19 | } 20 | #endif 21 | } -------------------------------------------------------------------------------- /src/Newtonsoft.Json/Newtonsoft.Json.Tests/TestObjects/Car.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace Newtonsoft.Json.Tests.TestObjects 7 | { 8 | public class Car 9 | { 10 | // included in JSON 11 | public string Model { get; set; } 12 | public DateTime Year { get; set; } 13 | public List Features { get; set; } 14 | 15 | // ignored 16 | [JsonIgnore] 17 | public DateTime LastModified { get; set; } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/Newtonsoft.Json/Newtonsoft.Json.Tests/TestObjects/Container.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | 3 | namespace Newtonsoft.Json.Tests.TestObjects 4 | { 5 | public class Container 6 | { 7 | public IList In { get; set; } 8 | public IList Out { get; set; } 9 | } 10 | } -------------------------------------------------------------------------------- /src/Newtonsoft.Json/Newtonsoft.Json.Tests/TestObjects/ContentBaseClass.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace Newtonsoft.Json.Tests.TestObjects 7 | { 8 | public abstract class ContentBaseClass 9 | { 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /src/Newtonsoft.Json/Newtonsoft.Json.Tests/TestObjects/ContentSubClass.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace Newtonsoft.Json.Tests.TestObjects 7 | { 8 | public class ContentSubClass : ContentBaseClass 9 | { 10 | public ContentSubClass() { } 11 | public ContentSubClass(string EasyIn) 12 | { 13 | SomeString = EasyIn; 14 | } 15 | 16 | public string SomeString { get; set; } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/Newtonsoft.Json/Newtonsoft.Json.Tests/TestObjects/GenericListAndDictionaryInterfaceProperties.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace Newtonsoft.Json.Tests.TestObjects 7 | { 8 | public class GenericListAndDictionaryInterfaceProperties 9 | { 10 | public IEnumerable IEnumerableProperty { get; set; } 11 | public IList IListProperty { get; set; } 12 | public IDictionary IDictionaryProperty { get; set; } 13 | } 14 | } -------------------------------------------------------------------------------- /src/Newtonsoft.Json/Newtonsoft.Json.Tests/TestObjects/HolderClass.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace Newtonsoft.Json.Tests.TestObjects 7 | { 8 | public class HolderClass 9 | { 10 | public HolderClass() { } 11 | 12 | [Newtonsoft.Json.JsonProperty(TypeNameHandling = Newtonsoft.Json.TypeNameHandling.All)] 13 | public ContentBaseClass TestMember { get; set; } 14 | 15 | [Newtonsoft.Json.JsonProperty(TypeNameHandling = Newtonsoft.Json.TypeNameHandling.All)] 16 | public Dictionary> AnotherTestMember { get; set; } 17 | 18 | public ContentBaseClass AThirdTestMember { get; set; } 19 | 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/Newtonsoft.Json/Newtonsoft.Json.Tests/TestObjects/JaggedArray.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace Newtonsoft.Json.Tests.TestObjects 7 | { 8 | public class JaggedArray 9 | { 10 | public string Before { get; set; } 11 | public int[][] Coordinates { get; set; } 12 | public string After { get; set; } 13 | } 14 | } -------------------------------------------------------------------------------- /src/Newtonsoft.Json/Newtonsoft.Json.Tests/TestObjects/Movie.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace Newtonsoft.Json.Tests.TestObjects 7 | { 8 | public class Movie 9 | { 10 | public string Name { get; set; } 11 | public string Description { get; set; } 12 | public string Classification { get; set; } 13 | public string Studio { get; set; } 14 | public DateTime? ReleaseDate { get; set; } 15 | public List ReleaseCountries { get; set; } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/Newtonsoft.Json/Newtonsoft.Json.Tests/TestObjects/PersonPropertyClass.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace Newtonsoft.Json.Tests.TestObjects 7 | { 8 | public class PersonPropertyClass 9 | { 10 | public Person Person { get; set; } 11 | 12 | public PersonPropertyClass() 13 | { 14 | Person = new WagePerson(); 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /src/Newtonsoft.Json/Newtonsoft.Json.Tests/TestObjects/Shortie.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Xml.Serialization; 6 | 7 | namespace Newtonsoft.Json.Tests.TestObjects 8 | { 9 | public class Shortie 10 | { 11 | public string Original { get; set; } 12 | public string Shortened { get; set; } 13 | public string Short { get; set; } 14 | public ShortieException Error { get; set; } 15 | } 16 | 17 | public class ShortieException 18 | { 19 | public int Code { get; set; } 20 | public string ErrorMessage { get; set; } 21 | } 22 | } -------------------------------------------------------------------------------- /src/Newtonsoft.Json/Newtonsoft.Json.Tests/TestObjects/Store.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/src/Newtonsoft.Json/Newtonsoft.Json.Tests/TestObjects/Store.cs -------------------------------------------------------------------------------- /src/Newtonsoft.Json/Newtonsoft.Json.Tests/TestObjects/WagePerson.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace Newtonsoft.Json.Tests.TestObjects 7 | { 8 | public class WagePerson : Person 9 | { 10 | [JsonProperty] 11 | public decimal HourlyWage { get; set; } 12 | } 13 | } -------------------------------------------------------------------------------- /src/Newtonsoft.Json/Newtonsoft.Json.Tests/bunny_pancake.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/src/Newtonsoft.Json/Newtonsoft.Json.Tests/bunny_pancake.jpg -------------------------------------------------------------------------------- /src/Newtonsoft.Json/Newtonsoft.Json/Dynamic.snk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/src/Newtonsoft.Json/Newtonsoft.Json/Dynamic.snk -------------------------------------------------------------------------------- /src/Newtonsoft.Json/Newtonsoft.Json/Linq/IJEnumerable.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace Newtonsoft.Json.Linq 7 | { 8 | /// 9 | /// Represents a collection of objects. 10 | /// 11 | /// The type of token 12 | public interface IJEnumerable< 13 | #if !(NET20 || NET35 || SILVERLIGHT) 14 | out 15 | #endif 16 | T> : IEnumerable where T : JToken 17 | { 18 | /// 19 | /// Gets the with the specified key. 20 | /// 21 | /// 22 | IJEnumerable this[object key] { get; } 23 | } 24 | } -------------------------------------------------------------------------------- /src/Newtonsoft.Json/Newtonsoft.Json/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/src/Newtonsoft.Json/Newtonsoft.Json/Properties/AssemblyInfo.cs -------------------------------------------------------------------------------- /src/Newtonsoft.Json/Newtonsoft.Json/Required.cs: -------------------------------------------------------------------------------- 1 | namespace Newtonsoft.Json 2 | { 3 | /// 4 | /// Indicating whether a property is required. 5 | /// 6 | public enum Required 7 | { 8 | /// 9 | /// The property is not required. The default state. 10 | /// 11 | Default, 12 | /// 13 | /// The property must be defined in JSON but can be a null value. 14 | /// 15 | AllowNull, 16 | /// 17 | /// The property must be defined in JSON and cannot be a null value. 18 | /// 19 | Always 20 | } 21 | } -------------------------------------------------------------------------------- /src/Newtonsoft.Json/Newtonsoft.Json/Serialization/JsonLinqContract.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace Newtonsoft.Json.Serialization 7 | { 8 | /// 9 | /// Contract details for a used by the . 10 | /// 11 | public class JsonLinqContract : JsonContract 12 | { 13 | /// 14 | /// Initializes a new instance of the class. 15 | /// 16 | /// The underlying type for the contract. 17 | public JsonLinqContract(Type underlyingType) 18 | : base(underlyingType) 19 | { 20 | } 21 | } 22 | } -------------------------------------------------------------------------------- /src/Symbiote.Core/.IKeyAccessor.cs.swp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/src/Symbiote.Core/.IKeyAccessor.cs.swp -------------------------------------------------------------------------------- /src/Symbiote.Core/Extensions/ArrayExtensions.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | namespace Symbiote.Core 3 | { 4 | public static class ArrayExtensions 5 | { 6 | public static T[] GetRange( this T[] array, int offset, int count ) 7 | { 8 | var newArray = new T[count]; 9 | Buffer.BlockCopy( array, offset, newArray, 0, count ); 10 | return newArray; 11 | } 12 | 13 | public static T[] GetRange( this ArraySegment segment ) 14 | { 15 | return GetRange( segment.Array, segment.Offset, segment.Count ); 16 | } 17 | } 18 | } 19 | 20 | -------------------------------------------------------------------------------- /src/Symbiote.Core/Symbiote.Core.pidb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/src/Symbiote.Core/Symbiote.Core.pidb -------------------------------------------------------------------------------- /src/Symbiote.Daemon/Host/Config/DaemonScan.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using Symbiote.Core; 3 | using Symbiote.Core.DI; 4 | 5 | namespace Symbiote.Daemon 6 | { 7 | public class DaemonScan : IProvideScan 8 | { 9 | public Action Scan() 10 | { 11 | return scan => scan.AddAllTypesOf(); 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /src/Symbiote.Daemon/Symbiote.Daemon.pidb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/src/Symbiote.Daemon/Symbiote.Daemon.pidb -------------------------------------------------------------------------------- /src/Symbiote.Eidetic/Symbiote.Eidetic.pidb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/src/Symbiote.Eidetic/Symbiote.Eidetic.pidb -------------------------------------------------------------------------------- /src/Symbiote.Hibernate/Config/HibernateConfigurator.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using FluentNHibernate.Cfg; 3 | using NHibernate; 4 | using Symbiote.Core; 5 | 6 | namespace Symbiote.Hibernate 7 | { 8 | public class HibernateConfigurator 9 | { 10 | private IAssimilate _assimilate; 11 | 12 | public HibernateConfigurator FromFactory( Action config ) 13 | { 14 | var configuration = Fluently.Configure(); 15 | config( configuration ); 16 | _assimilate.Dependencies( 17 | x => x.For().Use( configuration.BuildSessionFactory() ).AsSingleton() ); 18 | return this; 19 | } 20 | } 21 | } -------------------------------------------------------------------------------- /src/Symbiote.Hibernate/Symbiote.Hibernate.pidb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/src/Symbiote.Hibernate/Symbiote.Hibernate.pidb -------------------------------------------------------------------------------- /src/Symbiote.Hibernate/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /src/Symbiote.Log4Net/Config/Log4NetDependencies.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using Symbiote.Core; 3 | using Symbiote.Core.DI; 4 | using Symbiote.Core.Log.Impl; 5 | using Symbiote.Log4Net.Impl; 6 | 7 | namespace Symbiote.Log4Net.Config 8 | { 9 | public class Log4NetDependencies : IDefineDependencies 10 | { 11 | public Action Dependencies() 12 | { 13 | return container => 14 | { 15 | container.For().Use(); 16 | container.For().Use(); 17 | }; 18 | } 19 | } 20 | } -------------------------------------------------------------------------------- /src/Symbiote.Log4Net/Config/Log4NetInitializer.cs: -------------------------------------------------------------------------------- 1 | using Symbiote.Core; 2 | using Symbiote.Core.Log; 3 | 4 | namespace Symbiote.Log4Net.Config 5 | { 6 | public class Log4NetInitializer : IInitialize 7 | { 8 | public void Initialize() 9 | { 10 | var logManager = Assimilate.GetInstanceOf(); 11 | logManager.Initialize(); 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /src/Symbiote.Log4Net/Symbiote.Log4Net.pidb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/src/Symbiote.Log4Net/Symbiote.Log4Net.pidb -------------------------------------------------------------------------------- /src/Symbiote.Lucene/Symbiote.Lucene.pidb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/src/Symbiote.Lucene/Symbiote.Lucene.pidb -------------------------------------------------------------------------------- /src/Symbiote.Messaging/Impl/IProvideMessagingConventions.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace Symbiote.Messaging.Impl 7 | { 8 | public interface IProvideMessagingConventions 9 | { 10 | void CreateCompetingQueues(); 11 | void CreateConsumerExchange(); 12 | void CreateConsumerQueue(); 13 | void CreateExchangeToExchangeBindings(); 14 | void CreateTypeBasedExchanges(); 15 | void CreateWireTaps(); 16 | void StartSubscriptions(); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/Symbiote.Messaging/Symbiote.Messaging.pidb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/src/Symbiote.Messaging/Symbiote.Messaging.pidb -------------------------------------------------------------------------------- /src/Symbiote.Mikado/Configuration/MikadoScan.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using Symbiote.Core; 3 | using Symbiote.Core.DI; 4 | 5 | namespace Symbiote.Mikado.Configuration 6 | { 7 | public class MikadoScan : IProvideScan 8 | { 9 | public Action Scan() 10 | { 11 | return scan => 12 | { 13 | scan.ConnectImplementationsToTypesClosing(typeof(IRule<>)); 14 | }; 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /src/Symbiote.Mikado/Symbiote.Mikado.pidb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/src/Symbiote.Mikado/Symbiote.Mikado.pidb -------------------------------------------------------------------------------- /src/Symbiote.Rabbit/Symbiote.Rabbit.pidb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/src/Symbiote.Rabbit/Symbiote.Rabbit.pidb -------------------------------------------------------------------------------- /src/Symbiote.Redis/Symbiote.Redis.pidb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/src/Symbiote.Redis/Symbiote.Redis.pidb -------------------------------------------------------------------------------- /src/Symbiote.Riak/Symbiote.Riak.pidb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/src/Symbiote.Riak/Symbiote.Riak.pidb -------------------------------------------------------------------------------- /src/Symbiote.StructureMap/Symbiote.StructureMap.pidb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/src/Symbiote.StructureMap/Symbiote.StructureMap.pidb -------------------------------------------------------------------------------- /src/Symbiote.WCF/Client/ServiceClientRegistry.cs: -------------------------------------------------------------------------------- 1 | using StructureMap.Configuration.DSL; 2 | 3 | namespace Symbiote.Wcf.Client 4 | { 5 | public class ServiceClientRegistry : Registry 6 | { 7 | public ServiceClientRegistry() 8 | { 9 | ForRequestedType(typeof(IService<>)) 10 | .TheDefaultIsConcreteType(typeof(ServiceClient<>)); 11 | 12 | ForRequestedType(typeof(IServiceClientConfigurationStrategy<>)) 13 | .TheDefaultIsConcreteType(typeof(DefaultConfigurationStrategy<>)); 14 | } 15 | } 16 | } -------------------------------------------------------------------------------- /src/Symbiote.WCF/Symbiote.Wcf.pidb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/src/Symbiote.WCF/Symbiote.Wcf.pidb -------------------------------------------------------------------------------- /src/protobuf-net/Compiler/CompilerDelegates.cs: -------------------------------------------------------------------------------- 1 | #if FEAT_COMPILER 2 | namespace ProtoBuf.Compiler 3 | { 4 | internal delegate void ProtoSerializer(object value, ProtoWriter dest); 5 | internal delegate object ProtoDeserializer(object value, ProtoReader source); 6 | } 7 | #endif -------------------------------------------------------------------------------- /src/protobuf-net/Serializers/IProtoTypeSerializer.cs: -------------------------------------------------------------------------------- 1 |  2 | using ProtoBuf.Meta; 3 | namespace ProtoBuf.Serializers 4 | { 5 | interface IProtoTypeSerializer : IProtoSerializer 6 | { 7 | bool HasCallbacks(TypeModel.CallbackType callbackType); 8 | void Callback(object value, TypeModel.CallbackType callbackType); 9 | #if FEAT_COMPILER 10 | void EmitCallback(Compiler.CompilerContext ctx, Compiler.Local valueFrom, TypeModel.CallbackType callbackType); 11 | #endif 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/protobuf-net/Serializers/ISerializerProxy.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace ProtoBuf.Serializers 6 | { 7 | interface ISerializerProxy 8 | { 9 | IProtoSerializer Serializer { get; } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /src/protobuf-net/SubItemToken.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace ProtoBuf 6 | { 7 | /// 8 | /// Used to hold particulars relating to nested objects. This is opaque to the caller - simply 9 | /// give back the token you are given at the end of an object. 10 | /// 11 | public struct SubItemToken 12 | { 13 | internal readonly int value; 14 | internal SubItemToken(int value) { 15 | this.value = value; 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/protobuf-net/Web/TODO.txt: -------------------------------------------------------------------------------- 1 | Create an IHttpHandler (ex. Silverlight) for hosting proto-rpc in ASP.NET 2 | 3 | Create a ProtoHost (ex. Silverlight) for hosting proto-rpc standalone; 4 | * HttpListenere for http? 5 | * And what for Tcp? -------------------------------------------------------------------------------- /tests/Core.Tests/Actor/Agency/DummyAgent.cs: -------------------------------------------------------------------------------- 1 | using Symbiote.Core.Actor; 2 | 3 | namespace Core.Tests.Actor.Agency 4 | { 5 | public class DummyAgent : IAgent 6 | { 7 | public static int Instantiated { get; set; } 8 | public int InstanceId { get; set; } 9 | 10 | public DummyActor GetActor( TKey key ) 11 | { 12 | return new DummyActor(); 13 | } 14 | 15 | public void RegisterActor( TKey key, DummyActor actor ) 16 | { 17 | 18 | } 19 | 20 | public void Memoize( DummyActor actor ) 21 | { 22 | 23 | } 24 | 25 | public DummyAgent() 26 | { 27 | InstanceId = Instantiated++; 28 | } 29 | } 30 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Actor/Agent/DummyActorFactory.cs: -------------------------------------------------------------------------------- 1 | using Symbiote.Core.Actor; 2 | 3 | namespace Core.Tests.Actor.Agent 4 | { 5 | public class DummyActorFactory 6 | : IActorFactory 7 | { 8 | public int Called { get; set; } 9 | 10 | public DummyActor CreateInstance( TKey id ) 11 | { 12 | Called++; 13 | return new DummyActor(); 14 | } 15 | } 16 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Actor/Agent/with_cached_actor.cs: -------------------------------------------------------------------------------- 1 | using Machine.Specifications; 2 | using Symbiote.Core.Memento; 3 | 4 | namespace Core.Tests.Actor.Agent 5 | { 6 | public class with_cached_actor 7 | : with_agent_setup 8 | { 9 | private Establish context = () => 10 | { 11 | MockActorCache.Setup(x => x.Get(Moq.It.IsAny())).Returns(new PassthroughMemento() { Actor = new DummyActor() }); 12 | MockActorStore.Setup(x => x.Get(Moq.It.IsAny())).Returns(new PassthroughMemento()); 13 | }; 14 | } 15 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Actor/Agent/with_no_actor.cs: -------------------------------------------------------------------------------- 1 | using Machine.Specifications; 2 | using Symbiote.Core.Memento; 3 | 4 | namespace Core.Tests.Actor.Agent 5 | { 6 | public class with_no_actor 7 | : with_agent_setup 8 | { 9 | private Establish context = () => 10 | { 11 | MockActorCache.Setup( x => x.Get( Moq.It.IsAny() ) ).Returns( default(PassthroughMemento) ); 12 | MockActorStore.Setup(x => x.Get(Moq.It.IsAny())).Returns(default(PassthroughMemento)); 13 | }; 14 | } 15 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Actor/Agent/with_stored_actor.cs: -------------------------------------------------------------------------------- 1 | using Machine.Specifications; 2 | using Symbiote.Core.Memento; 3 | 4 | namespace Core.Tests.Actor.Agent 5 | { 6 | public class with_stored_actor 7 | : with_agent_setup 8 | { 9 | private Establish context = () => 10 | { 11 | MockActorCache.Setup(x => x.Get(Moq.It.IsAny())).Returns( default(PassthroughMemento) ); 12 | MockActorStore.Setup(x => x.Get(Moq.It.IsAny())).Returns(new PassthroughMemento() { Actor = new DummyActor() }); 13 | }; 14 | } 15 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Actor/Cache/CacheItem.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Tests.Actor.Cache 2 | { 3 | public class CacheItem 4 | { 5 | public int Id { get; set; } 6 | } 7 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Actor/Cache/CacheMemento.cs: -------------------------------------------------------------------------------- 1 | using Symbiote.Core; 2 | 3 | namespace Core.Tests.Actor.Cache 4 | { 5 | public class CacheMemento : IMemento 6 | { 7 | public int Id { get; set; } 8 | 9 | public void Capture( CacheItem instance ) 10 | { 11 | Id = instance.Id; 12 | } 13 | 14 | public void Reset( CacheItem instance ) 15 | { 16 | instance.Id = Id; 17 | } 18 | 19 | public CacheItem Retrieve() 20 | { 21 | return new CacheItem() { Id = Id }; 22 | } 23 | } 24 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Actor/Cache/TestKeyAccessor.cs: -------------------------------------------------------------------------------- 1 | using Symbiote.Core; 2 | 3 | namespace Core.Tests.Actor.Cache 4 | { 5 | public class TestKeyAccessor 6 | : IKeyAccessor 7 | { 8 | public string GetId( CacheItem actor ) 9 | { 10 | return actor.Id.ToString(); 11 | } 12 | 13 | public void SetId( CacheItem actor, TKey key ) 14 | { 15 | actor.Id = int.Parse( key.ToString() ); 16 | } 17 | } 18 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Actor/Cache/TestKeyAccessor.cs.orig: -------------------------------------------------------------------------------- 1 | <<<<<<< HEAD 2 | using Symbiote.Core.UnitOfWork; 3 | ======= 4 | using Symbiote.Core; 5 | using Symbiote.Core.UnitOfWork; 6 | >>>>>>> Beginning work on app domain hot loading 7 | 8 | namespace Actor.Tests.Cache 9 | { 10 | public class TestKeyAccessor 11 | : IKeyAccessor 12 | { 13 | public string GetId( CacheItem actor ) 14 | { 15 | return actor.Id.ToString(); 16 | } 17 | 18 | public void SetId( CacheItem actor, TKey id ) 19 | { 20 | actor.Id = int.Parse( id.ToString() ); 21 | } 22 | } 23 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Actor/Cache/when_caching_actor.cs: -------------------------------------------------------------------------------- 1 | using Machine.Specifications; 2 | 3 | namespace Core.Tests.Actor.Cache 4 | { 5 | public class when_caching_actor 6 | : with_cache 7 | { 8 | public static CacheItem instance { get; set; } 9 | public static CacheItem retrieved { get; set; } 10 | 11 | private Because of = () => 12 | { 13 | instance = new CacheItem() { Id = 1 }; 14 | Cache.Store( Memoizer.GetMemento(instance) ); 15 | retrieved = Memoizer.GetFromMemento(Cache.Get( 1 )); 16 | }; 17 | 18 | private It should_store_and_retrieve_by_key = () => 19 | instance.Id.ShouldEqual( retrieved.Id ); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /tests/Core.Tests/Actor/Cache/with_cache.cs: -------------------------------------------------------------------------------- 1 | using Machine.Specifications; 2 | using Symbiote.Core; 3 | using Symbiote.Core.Actor; 4 | using Symbiote.Core.Memento; 5 | 6 | namespace Core.Tests.Actor.Cache 7 | { 8 | public class with_cache 9 | : with_assimilation 10 | { 11 | public static IActorCache Cache { get; set; } 12 | public static IMemoizer Memoizer { get; set; } 13 | 14 | private Establish context = () => 15 | { 16 | Cache = Assimilate.GetInstanceOf>(); 17 | Memoizer = new Memoizer(); 18 | }; 19 | } 20 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Actor/Domain/DriverFactory.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using Core.Tests.Actor.Domain.Model; 3 | 4 | namespace Core.Tests.Actor.Domain 5 | { 6 | public class DriverFactory 7 | { 8 | public Driver CreateNewDriver(string ssn, string firstName, string lastName, DateTime dateOfBirth) 9 | { 10 | return new Driver(ssn, firstName, lastName, dateOfBirth); 11 | } 12 | } 13 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Actor/Domain/DriverKeyAccessor.cs: -------------------------------------------------------------------------------- 1 | using Core.Tests.Actor.Domain.Model; 2 | using Symbiote.Core; 3 | 4 | namespace Core.Tests.Actor.Domain 5 | { 6 | public class DriverKeyAccessor : IKeyAccessor 7 | { 8 | public string GetId(Driver actor) 9 | { 10 | return actor.SSN; 11 | } 12 | 13 | public void SetId(Driver actor, TKey key) 14 | { 15 | // this isn't necessary with a custom factory 16 | } 17 | } 18 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Actor/Domain/DriverKeyAccessor.cs.orig: -------------------------------------------------------------------------------- 1 | using Actor.Tests.Domain.Model; 2 | <<<<<<< HEAD 3 | ======= 4 | using Symbiote.Core; 5 | >>>>>>> Beginning work on app domain hot loading 6 | using Symbiote.Core.UnitOfWork; 7 | 8 | namespace Actor.Tests.Domain 9 | { 10 | public class DriverKeyAccessor : IKeyAccessor 11 | { 12 | public string GetId(Driver actor) 13 | { 14 | return actor.SSN; 15 | } 16 | 17 | public void SetId(Driver actor, TKey id) 18 | { 19 | // this isn't necessary with a customer factory 20 | } 21 | } 22 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Actor/Domain/Events/DriverAddedVehicle.cs: -------------------------------------------------------------------------------- 1 |  2 | namespace Core.Tests.Actor.Domain.Events 3 | { 4 | public class DriverAddedVehicle 5 | { 6 | public string Vin { get; set; } 7 | public string Make { get; set; } 8 | public string Model { get; set; } 9 | public int Year { get; set; } 10 | 11 | public DriverAddedVehicle() {} 12 | 13 | public DriverAddedVehicle( string vin, string make, string model, int year ) 14 | { 15 | Vin = vin; 16 | Make = make; 17 | Model = model; 18 | Year = year; 19 | } 20 | } 21 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Actor/Domain/Events/DriverChangedName.cs: -------------------------------------------------------------------------------- 1 |  2 | 3 | namespace Core.Tests.Actor.Domain.Events 4 | { 5 | public class DriverChangedName 6 | { 7 | public string FirstName { get; set; } 8 | public string LastName { get; set; } 9 | 10 | public DriverChangedName() {} 11 | 12 | public DriverChangedName( string firstName, string lastName ) 13 | { 14 | FirstName = firstName; 15 | LastName = lastName; 16 | } 17 | } 18 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Actor/Domain/Model/IAddressMemento.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Tests.Actor.Domain.Model 2 | { 3 | public interface IAddressMemento 4 | { 5 | int StreetNumber { get; set; } 6 | string StreetName { get; set; } 7 | string City { get; set; } 8 | string State { get; set; } 9 | string Zip { get; set; } 10 | } 11 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Actor/Domain/Model/IDriverMemento.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | 4 | namespace Core.Tests.Actor.Domain.Model 5 | { 6 | public interface IDriverMemento 7 | { 8 | string SSN { get; set; } 9 | string FirstName { get; set; } 10 | string LastName { get; set; } 11 | DateTime DateOfBirth { get; set; } 12 | IAddressMemento CurrentAddress { get; set; } 13 | IList FormerAddresses { get; set; } 14 | IList Vehicles { get; set; } 15 | 16 | IAddressMemento CreateAddressMemento(); 17 | IVehicleMemento CreateVehicleMemento(); 18 | } 19 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Actor/Domain/Model/IVehicleMemento.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Tests.Actor.Domain.Model 2 | { 3 | public interface IVehicleMemento 4 | { 5 | string Vin { get; set; } 6 | string Make { get; set; } 7 | string Model { get; set; } 8 | int Year { get; set; } 9 | } 10 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Actor/Domain/Model/VehicleKeyAccessor.cs: -------------------------------------------------------------------------------- 1 | using Symbiote.Core; 2 | 3 | namespace Core.Tests.Actor.Domain.Model 4 | { 5 | public class VehicleKeyAccessor : IKeyAccessor 6 | { 7 | public string GetId( Vehicle actor ) 8 | { 9 | return actor.VIN; 10 | } 11 | 12 | public void SetId( Vehicle actor, TKey key ) 13 | { 14 | // won't get used due to factory 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Actor/Domain/NewMotoristMessage.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Core.Tests.Actor.Domain 4 | { 5 | public class NewMotoristMessage 6 | { 7 | public string SSN { get; set; } 8 | public string FirstName { get; set; } 9 | public string LastName { get; set; } 10 | public DateTime DateOfBirth { get; set; } 11 | 12 | public NewMotoristMessage() 13 | { 14 | } 15 | 16 | public NewMotoristMessage(string ssn, string firstName, string lastName, DateTime dateOfBirth) 17 | { 18 | SSN = ssn; 19 | FirstName = firstName; 20 | LastName = lastName; 21 | DateOfBirth = dateOfBirth; 22 | } 23 | 24 | 25 | } 26 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Actor/DummyActor.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Tests.Actor 2 | { 3 | public class DummyActor 4 | { 5 | public string Id { get; set; } 6 | 7 | public DummyActor() 8 | { 9 | Instantiated++; 10 | } 11 | 12 | public static int Instantiated { get; set; } 13 | } 14 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Actor/DummyKeyAccessor.cs: -------------------------------------------------------------------------------- 1 | using Symbiote.Core; 2 | 3 | namespace Core.Tests.Actor 4 | { 5 | public class DummyKeyAccessor : IKeyAccessor 6 | { 7 | public string GetId( DummyActor actor ) 8 | { 9 | return actor.Id; 10 | } 11 | 12 | public void SetId( DummyActor actor, TKey key ) 13 | { 14 | actor.Id = key.ToString(); 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Actor/DummyKeyAccessor.cs.orig: -------------------------------------------------------------------------------- 1 | <<<<<<< HEAD 2 | using Symbiote.Core.UnitOfWork; 3 | ======= 4 | using Symbiote.Core; 5 | using Symbiote.Core.UnitOfWork; 6 | >>>>>>> Beginning work on app domain hot loading 7 | 8 | namespace Actor.Tests 9 | { 10 | public class DummyKeyAccessor : IKeyAccessor 11 | { 12 | public string GetId( DummyActor actor ) 13 | { 14 | return actor.Id; 15 | } 16 | 17 | public void SetId( DummyActor actor, TKey id ) 18 | { 19 | actor.Id = id.ToString(); 20 | } 21 | } 22 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Actor/Events/when_capturing_events.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Tests.Actor.Events 2 | { 3 | public class when_capturing_events 4 | { 5 | } 6 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Actor/KeyAccess/Class1.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Tests.Actor.KeyAccess 2 | { 3 | public class Class1 : IHaveId 4 | { 5 | public string Id { get; protected set; } 6 | public void SetId( string id ) 7 | { 8 | Id = id; 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Actor/KeyAccess/Class2.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Tests.Actor.KeyAccess 2 | { 3 | public class Class2 : IHaveId 4 | { 5 | public string Id { get; protected set; } 6 | public void SetId(string id) 7 | { 8 | Id = id; 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Actor/KeyAccess/ConcreteKeyAccessor.cs: -------------------------------------------------------------------------------- 1 | using Symbiote.Core; 2 | 3 | namespace Core.Tests.Actor.KeyAccess 4 | { 5 | public class ConcreteKeyAccessor : IKeyAccessor 6 | { 7 | public string GetId( ConcreteType actor ) 8 | { 9 | return actor.Id; 10 | } 11 | 12 | public void SetId( ConcreteType actor, TKey key ) 13 | { 14 | actor.Id = key.ToString(); 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Actor/KeyAccess/ConcreteType.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace Core.Tests.Actor.KeyAccess 7 | { 8 | public class ConcreteType 9 | { 10 | public string Id { get; set; } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /tests/Core.Tests/Actor/KeyAccess/IHaveId.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Tests.Actor.KeyAccess 2 | { 3 | public interface IHaveId 4 | { 5 | string Id { get; } 6 | void SetId( string id ); 7 | } 8 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Actor/KeyAccess/InterfaceKeyAccessor.cs: -------------------------------------------------------------------------------- 1 | using Symbiote.Core; 2 | 3 | namespace Core.Tests.Actor.KeyAccess 4 | { 5 | public class InterfaceKeyAccessor : IKeyAccessor 6 | { 7 | public string GetId( IHaveId actor ) 8 | { 9 | return actor.Id; 10 | } 11 | 12 | public void SetId( IHaveId actor, TKey key ) 13 | { 14 | actor.SetId( key.ToString() ); 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Actor/KeyAccess/with_key_accessor.cs: -------------------------------------------------------------------------------- 1 | using Machine.Specifications; 2 | using Symbiote.Core; 3 | 4 | namespace Core.Tests.Actor.KeyAccess 5 | { 6 | public class with_key_accessor 7 | : with_assimilation 8 | { 9 | public static IKeyAccessor KeyAccessor { get; set; } 10 | private Establish context = () => 11 | { 12 | KeyAccessor = Assimilate.GetInstanceOf(); 13 | }; 14 | } 15 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Actor/when_caching_actor.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Tests.Actor 2 | { 3 | public class when_caching_actor 4 | { 5 | } 6 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Actor/when_requesting_new_actor_from_agent.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Tests.Actor 2 | { 3 | public class when_requesting_new_actor_from_agent 4 | { 5 | } 6 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Actor/with_assimilation.cs: -------------------------------------------------------------------------------- 1 | using Machine.Specifications; 2 | using Symbiote.Core; 3 | using Symbiote.Messaging; 4 | 5 | namespace Core.Tests.Actor 6 | { 7 | public class with_assimilation 8 | { 9 | private Establish context = () => 10 | { 11 | Assimilate 12 | .Initialize(); 13 | Bus = Assimilate.GetInstanceOf(); 14 | }; 15 | 16 | public static IBus Bus { get; set; } 17 | } 18 | } -------------------------------------------------------------------------------- /tests/Core.Tests/App.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /tests/Core.Tests/Collections/with_mrudictionary.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | using System.Threading; 5 | using Machine.Specifications; 6 | using Symbiote.Core.Collections; 7 | 8 | namespace Core.Tests.Collections 9 | { 10 | public class with_mrudictionary 11 | { 12 | public static MruDictionary nrulookup; 13 | 14 | private Establish context = () => 15 | { 16 | nrulookup = new MruDictionary(10); 17 | }; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /tests/Core.Tests/Concurrency/EventLoop/when_enqueuing_work_to_stopped_loop.cs: -------------------------------------------------------------------------------- 1 | using Machine.Specifications; 2 | 3 | namespace Core.Tests.Concurrency.EventLoop 4 | { 5 | public class when_enqueuing_work_to_stopped_loop 6 | : with_event_loop 7 | { 8 | static int total; 9 | 10 | private Because of = () => { 11 | Loop.Enqueue( () => total += 1 ); 12 | }; 13 | 14 | private It should_not_process_item = () => total.ShouldEqual( 0 ); 15 | private It should_have_action_enqueued = () => Loop.ActionQueue.Count.ShouldEqual( 1 ); 16 | } 17 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Concurrency/EventLoop/with_event_loop.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using Machine.Specifications; 6 | using Symbiote.Core.Concurrency; 7 | 8 | namespace Core.Tests.Concurrency.EventLoop 9 | { 10 | public class with_event_loop 11 | { 12 | protected static Symbiote.Core.Concurrency.EventLoop Loop; 13 | 14 | private Establish context = () => { 15 | Loop = new Symbiote.Core.Concurrency.EventLoop(); 16 | }; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /tests/Core.Tests/Core.Tests.pidb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/tests/Core.Tests/Core.Tests.pidb -------------------------------------------------------------------------------- /tests/Core.Tests/DI/AClassOf.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Tests.DI 2 | { 3 | public class AClassOf : AnInterfaceOf 4 | { 5 | 6 | } 7 | } -------------------------------------------------------------------------------- /tests/Core.Tests/DI/AnInterfaceOf.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Tests.DI 2 | { 3 | public interface AnInterfaceOf 4 | { 5 | 6 | } 7 | } -------------------------------------------------------------------------------- /tests/Core.Tests/DI/BaseClass.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Tests.DI 2 | { 3 | public abstract class BaseClass : IAmAnInterface 4 | { 5 | public void ThatDoesStuff() 6 | { 7 | 8 | } 9 | } 10 | } -------------------------------------------------------------------------------- /tests/Core.Tests/DI/ClosedClass.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Tests.DI 2 | { 3 | public class ClosedClass : AClassOf 4 | { 5 | 6 | } 7 | } -------------------------------------------------------------------------------- /tests/Core.Tests/DI/Container/ClosedImpl.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Core.Tests.DI.Container 4 | { 5 | public class ClosedImpl : ITakeGenericParams 6 | { 7 | public Type GetTypeOfT 8 | { 9 | get { return typeof( string ); } 10 | } 11 | } 12 | } -------------------------------------------------------------------------------- /tests/Core.Tests/DI/Container/IHazzaMessage.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Tests.DI.Container 2 | { 3 | public interface IHazzaMessage 4 | { 5 | string GetMessage(); 6 | } 7 | } -------------------------------------------------------------------------------- /tests/Core.Tests/DI/Container/IMark.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Tests.DI.Container 2 | { 3 | public interface IMark 4 | { 5 | 6 | } 7 | } -------------------------------------------------------------------------------- /tests/Core.Tests/DI/Container/IMessageProvider.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Tests.DI.Container 2 | { 3 | public interface IMessageProvider 4 | { 5 | string GetMessage(); 6 | } 7 | } -------------------------------------------------------------------------------- /tests/Core.Tests/DI/Container/IShouldBeSingleton.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Tests.DI.Container 2 | { 3 | public interface IShouldBeSingleton 4 | { 5 | int Instance { get; } 6 | } 7 | } -------------------------------------------------------------------------------- /tests/Core.Tests/DI/Container/ITakeGenericParams.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Core.Tests.DI.Container 4 | { 5 | public interface ITakeGenericParams 6 | { 7 | Type GetTypeOfT { get; } 8 | } 9 | } -------------------------------------------------------------------------------- /tests/Core.Tests/DI/Container/MessageHazzer.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Concurrent; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace Core.Tests.DI.Container 6 | { 7 | public class MessageHazzer : IHazzaMessage 8 | { 9 | public string GetMessage() 10 | { 11 | return "This is a message from MessageHazzer. Hi!"; 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /tests/Core.Tests/DI/Container/MessageProvider.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Tests.DI.Container 2 | { 3 | public class MessageProvider 4 | : IMessageProvider 5 | { 6 | public IHazzaMessage MessageHaz { get; set; } 7 | 8 | public string GetMessage() 9 | { 10 | return MessageHaz.GetMessage(); 11 | } 12 | 13 | public MessageProvider( IHazzaMessage messageHaz ) 14 | { 15 | MessageHaz = messageHaz; 16 | } 17 | } 18 | } -------------------------------------------------------------------------------- /tests/Core.Tests/DI/Container/Multiple1.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Tests.DI.Container 2 | { 3 | public class Multiple1 : IMark 4 | { 5 | 6 | } 7 | } -------------------------------------------------------------------------------- /tests/Core.Tests/DI/Container/Multiple2.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Tests.DI.Container 2 | { 3 | public class Multiple2 : IMark 4 | { 5 | 6 | } 7 | } -------------------------------------------------------------------------------- /tests/Core.Tests/DI/Container/Multiple3.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Tests.DI.Container 2 | { 3 | public class Multiple3 : IMark 4 | { 5 | 6 | } 7 | } -------------------------------------------------------------------------------- /tests/Core.Tests/DI/Container/OpenConcrete.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Tests.DI.Container 2 | { 3 | public class OpenConcrete 4 | { 5 | public IMessageProvider Provider { get; set; } 6 | 7 | public OpenConcrete( IMessageProvider provider ) 8 | { 9 | Provider = provider; 10 | } 11 | } 12 | } -------------------------------------------------------------------------------- /tests/Core.Tests/DI/Container/OpenImpl.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Core.Tests.DI.Container 4 | { 5 | public class OpenImpl : ITakeGenericParams 6 | { 7 | public Type GetTypeOfT 8 | { 9 | get { return typeof( T ); } 10 | } 11 | } 12 | } -------------------------------------------------------------------------------- /tests/Core.Tests/DI/Container/PlainConcrete.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Tests.DI.Container 2 | { 3 | public class PlainConcrete 4 | { 5 | public IMessageProvider Provider { get; set; } 6 | 7 | public PlainConcrete( IMessageProvider provider ) 8 | { 9 | Provider = provider; 10 | } 11 | } 12 | } -------------------------------------------------------------------------------- /tests/Core.Tests/DI/Container/SingletonA.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Tests.DI.Container 2 | { 3 | public class SingletonA : IShouldBeSingleton 4 | { 5 | private int _instance; 6 | static int Instantiated { get; set; } 7 | 8 | public static void Reset() 9 | { 10 | Instantiated = 0; 11 | } 12 | 13 | public int Instance 14 | { 15 | get { return _instance; } 16 | } 17 | 18 | public string Message { get; set; } 19 | 20 | public SingletonA() 21 | { 22 | _instance = Instantiated ++; 23 | } 24 | } 25 | } -------------------------------------------------------------------------------- /tests/Core.Tests/DI/Container/SingletonB.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Tests.DI.Container 2 | { 3 | public class SingletonB : IShouldBeSingleton 4 | { 5 | private int _instance; 6 | static int Instantiated { get; set; } 7 | 8 | public static void Reset() 9 | { 10 | Instantiated = 0; 11 | } 12 | 13 | public int Instance 14 | { 15 | get { return _instance; } 16 | } 17 | 18 | public string Message { get; set; } 19 | 20 | public SingletonB() 21 | { 22 | _instance = Instantiated ++; 23 | } 24 | } 25 | } -------------------------------------------------------------------------------- /tests/Core.Tests/DI/Container/when_instantiating_closed_generic.cs: -------------------------------------------------------------------------------- 1 | using Machine.Specifications; 2 | 3 | namespace Core.Tests.DI.Container 4 | { 5 | public class when_instantiating_closed_generic : with_generics_registration 6 | { 7 | private static bool passed; 8 | 9 | private Because of = () => 10 | { 11 | var instance = Container.GetInstance( typeof(ITakeGenericParams<>), "closed" ); 12 | passed = instance.GetType().Equals( typeof( ClosedImpl ) ); 13 | }; 14 | 15 | private It should_match_passed_type = () => passed.ShouldBeTrue(); 16 | } 17 | } -------------------------------------------------------------------------------- /tests/Core.Tests/DI/Container/when_instantiating_open_generic.cs: -------------------------------------------------------------------------------- 1 | using Machine.Specifications; 2 | 3 | namespace Core.Tests.DI.Container 4 | { 5 | public class when_instantiating_open_generic : with_generics_registration 6 | { 7 | private static bool passed; 8 | 9 | private Because of = () => 10 | { 11 | var instance = Container.GetInstance>(); 12 | passed = instance.GetTypeOfT.Equals( typeof( int ) ); 13 | }; 14 | 15 | private It should_match_passed_type = () => passed.ShouldBeTrue(); 16 | } 17 | } -------------------------------------------------------------------------------- /tests/Core.Tests/DI/Container/when_requesting_concrete_open_type.cs: -------------------------------------------------------------------------------- 1 | using Machine.Specifications; 2 | 3 | namespace Core.Tests.DI.Container 4 | { 5 | public class when_requesting_concrete_open_type : with_simple_registration 6 | { 7 | private static string message; 8 | private Because of = () => 9 | { 10 | var instance = Container.GetInstance>(); 11 | message = instance.Provider.GetMessage(); 12 | }; 13 | 14 | private It should_have_correct_message = () => message.ShouldEqual( "This is a message from MessageHazzer. Hi!" ); 15 | } 16 | } -------------------------------------------------------------------------------- /tests/Core.Tests/DI/Container/when_requesting_concrete_type.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using Machine.Specifications; 6 | 7 | namespace Core.Tests.DI.Container 8 | { 9 | public class when_requesting_concrete_type : with_simple_registration 10 | { 11 | private static string message; 12 | private Because of = () => 13 | { 14 | var instance = Container.GetInstance(); 15 | message = instance.Provider.GetMessage(); 16 | }; 17 | 18 | private It should_have_correct_message = () => message.ShouldEqual( "This is a message from MessageHazzer. Hi!" ); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /tests/Core.Tests/DI/Container/when_testing_duplicate_singleton_definition.cs: -------------------------------------------------------------------------------- 1 | using Machine.Specifications; 2 | 3 | namespace Core.Tests.DI.Container 4 | { 5 | public class when_testing_duplicate_singleton_definition : with_duplicate_singletons_registered 6 | { 7 | private static bool pass; 8 | private Because of = () => 9 | { 10 | var instance = Container.GetInstance(); 11 | pass = ( instance as SingletonB ).Message == "second"; 12 | }; 13 | 14 | private It should_overwrite_initial_dependency_with_latter = () => pass.ShouldBeTrue(); 15 | } 16 | } -------------------------------------------------------------------------------- /tests/Core.Tests/DI/Container/with_closed_types_registered.cs: -------------------------------------------------------------------------------- 1 | using Machine.Specifications; 2 | using Symbiote.Core.DI; 3 | 4 | namespace Core.Tests.DI.Container 5 | { 6 | public class with_closed_types_registered : with_container 7 | { 8 | private Establish context = () => 9 | { 10 | var def1 = DependencyExpression.For>(); 11 | def1.Use(); 12 | Container.Register( def1 ); 13 | }; 14 | } 15 | } -------------------------------------------------------------------------------- /tests/Core.Tests/DI/Container/with_container.cs: -------------------------------------------------------------------------------- 1 | using Machine.Specifications; 2 | using Symbiote.Core.DI.Impl; 3 | 4 | namespace Core.Tests.DI.Container 5 | { 6 | public class with_container 7 | { 8 | protected static SimpleDependencyRegistry Container { get; set; } 9 | private Establish context = () => { Container = new SimpleDependencyRegistry(); }; 10 | } 11 | } -------------------------------------------------------------------------------- /tests/Core.Tests/DI/Container/with_duplicate_singletons_registered.cs: -------------------------------------------------------------------------------- 1 | using Machine.Specifications; 2 | using Symbiote.Core.DI; 3 | 4 | namespace Core.Tests.DI.Container 5 | { 6 | public class with_duplicate_singletons_registered : with_container 7 | { 8 | private Establish context = () => 9 | { 10 | var def1 = DependencyExpression.For(); 11 | def1.Use( new SingletonA() { Message = "first" } ); 12 | 13 | var def2 = DependencyExpression.For(); 14 | def2.Use( new SingletonB() { Message = "second" } ); 15 | 16 | Container.Register( def1 ); 17 | Container.Register( def2 ); 18 | }; 19 | } 20 | } -------------------------------------------------------------------------------- /tests/Core.Tests/DI/Container/with_generics_registration.cs: -------------------------------------------------------------------------------- 1 | using Machine.Specifications; 2 | using Symbiote.Core.DI; 3 | 4 | namespace Core.Tests.DI.Container 5 | { 6 | public class with_generics_registration : with_container 7 | { 8 | private Establish context = () => 9 | { 10 | var def1 = DependencyExpression.For(typeof(ITakeGenericParams<>)); 11 | def1.Use(typeof(OpenImpl<>)); 12 | 13 | var def2 = DependencyExpression.For("closed", typeof(ITakeGenericParams<>)); 14 | def2.Add(); 15 | 16 | Container.Register( def1 ); 17 | Container.Register( def2 ); 18 | }; 19 | } 20 | } -------------------------------------------------------------------------------- /tests/Core.Tests/DI/Container/with_simple_registration.cs: -------------------------------------------------------------------------------- 1 | using Machine.Specifications; 2 | using Symbiote.Core.DI; 3 | 4 | namespace Core.Tests.DI.Container 5 | { 6 | public class with_simple_registration : with_container 7 | { 8 | private Establish context = () => 9 | { 10 | var def1 = DependencyExpression.For(); 11 | def1.Use(); 12 | 13 | var def2 = DependencyExpression.For(); 14 | def2.Use(); 15 | 16 | Container.Register( def1 ); 17 | Container.Register( def2 ); 18 | }; 19 | } 20 | } -------------------------------------------------------------------------------- /tests/Core.Tests/DI/IAmAnInterface.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Tests.DI 2 | { 3 | public interface IAmAnInterface 4 | { 5 | void ThatDoesStuff(); 6 | } 7 | } -------------------------------------------------------------------------------- /tests/Core.Tests/DI/InheritsBaseClass.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Tests.DI 2 | { 3 | public class InheritsBaseClass : BaseClass 4 | { 5 | 6 | } 7 | } -------------------------------------------------------------------------------- /tests/Core.Tests/DI/when_test_closing_aclassof.cs: -------------------------------------------------------------------------------- 1 | using Machine.Specifications; 2 | using Symbiote.Core.DI; 3 | 4 | namespace Core.Tests.DI 5 | { 6 | public class when_test_closing_aclassof 7 | { 8 | static bool closes; 9 | static bool open; 10 | 11 | private Because of = () => 12 | { 13 | open = typeof( AClassOf<> ).IsOpenGeneric(); 14 | closes = typeof( ClosedClass ).Closes( typeof( AClassOf<> ) ); 15 | }; 16 | 17 | private It should_open_close = () => open.ShouldBeTrue(); 18 | private It should_close = () => closes.ShouldBeTrue(); 19 | } 20 | } -------------------------------------------------------------------------------- /tests/Core.Tests/DI/when_test_closing_aninterfaceof.cs: -------------------------------------------------------------------------------- 1 | using Machine.Specifications; 2 | using Symbiote.Core.DI; 3 | 4 | namespace Core.Tests.DI 5 | { 6 | public class when_test_closing_aninterfaceof 7 | { 8 | static bool closes; 9 | static bool open; 10 | 11 | private Because of = () => 12 | { 13 | open = typeof( AnInterfaceOf<> ).IsOpenGeneric(); 14 | closes = typeof( ClosedClass ).Closes( typeof( AnInterfaceOf<> ) ); 15 | }; 16 | 17 | private It should_close = () => closes.ShouldBeTrue(); 18 | private It should_open_close = () => open.ShouldBeTrue(); 19 | } 20 | } -------------------------------------------------------------------------------- /tests/Core.Tests/DI/with_assembly_scanning_for_marker_interface.cs: -------------------------------------------------------------------------------- 1 | using Machine.Specifications; 2 | using Symbiote.Core; 3 | 4 | namespace Core.Tests.DI 5 | { 6 | public abstract class with_assembly_scanning_for_marker_interface : with_assimilation 7 | { 8 | private Establish context = () => Assimilate 9 | .Dependencies(x => x.Scan(s => s.AddAllTypesOf() )); 10 | 11 | } 12 | } -------------------------------------------------------------------------------- /tests/Core.Tests/DecisionTree/ProcessThingy.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Tests.DecisionTree 2 | { 3 | public class ProcessThingy 4 | { 5 | public string ThingyId { get; set; } 6 | 7 | public ProcessThingy() 8 | { 9 | } 10 | 11 | public ProcessThingy( string thingyId ) 12 | { 13 | ThingyId = thingyId; 14 | } 15 | } 16 | } -------------------------------------------------------------------------------- /tests/Core.Tests/DecisionTree/Thingy.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using System.Linq; 3 | using System.Text; 4 | using Core.Tests.Serialization; 5 | 6 | namespace Core.Tests.DecisionTree 7 | { 8 | public class Thingy : IHazId 9 | { 10 | public string Key { get; set; } 11 | 12 | public bool Flag1 { get; set; } 13 | public bool Flag2 { get; set; } 14 | public bool Flag3 { get; set; } 15 | 16 | public Thingy() 17 | { 18 | } 19 | 20 | public Thingy( string key, bool flag1, bool flag2, bool flag3 ) 21 | { 22 | Key = key; 23 | Flag1 = flag1; 24 | Flag2 = flag2; 25 | Flag3 = flag3; 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /tests/Core.Tests/DecisionTree/ThingyFactory.cs: -------------------------------------------------------------------------------- 1 | using Symbiote.Core.Actor; 2 | 3 | namespace Core.Tests.DecisionTree 4 | { 5 | public class ThingyFactory : IActorFactory 6 | { 7 | public Thingy CreateInstance( TKey id ) 8 | { 9 | return new Thingy( id.ToString(), true, true, true ); 10 | } 11 | } 12 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Distributor/Basic/with_mod_wheel.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Tests.Distributor.Basic 2 | { 3 | public abstract class with_mod_wheel 4 | { 5 | 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /tests/Core.Tests/Domain/DriverFactory.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using Core.Tests.Actor.Domain.Model; 3 | 4 | namespace Core.Tests.Domain 5 | { 6 | public class DriverFactory 7 | { 8 | public Driver CreateNewDriver(string ssn, string firstName, string lastName, DateTime dateOfBirth) 9 | { 10 | return new Driver(ssn, firstName, lastName, dateOfBirth); 11 | } 12 | } 13 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Domain/Listeners/DriverGenericEvent.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Linq; 3 | using System.Text; 4 | using Symbiote.Core.UnitOfWork; 5 | 6 | namespace Core.Tests.Domain.Listeners 7 | { 8 | public class DriverGenericEvent : IEvent 9 | { 10 | public Guid EventId { get; set; } 11 | public string ActorType { get; set; } 12 | public string ActorId { get; set; } 13 | public DateTime UtcTimeStamp { get; set; } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /tests/Core.Tests/Domain/Listeners/DriverGenericEventChild.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Tests.Domain.Listeners 2 | { 3 | public class DriverGenericEventChild : DriverGenericEvent 4 | { 5 | // test sub type to verify that the IEventListenerManager is taking inheritance into account 6 | } 7 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Domain/Listeners/StaticDriverEventListener.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using Symbiote.Core.UnitOfWork; 4 | 5 | namespace Core.Tests.Domain.Listeners 6 | { 7 | public class StaticDriverEventListener : EventListenerBase 8 | { 9 | public List Events { get; set; } 10 | 11 | public StaticDriverEventListener() 12 | { 13 | Events = new List(); 14 | } 15 | 16 | public override void OnEvent(DriverGenericEvent value) 17 | { 18 | Events.Add( value ); 19 | } 20 | } 21 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Domain/Listeners/StaticListenerForEverything.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using Symbiote.Core.UnitOfWork; 4 | 5 | namespace Core.Tests.Domain.Listeners 6 | { 7 | public class StaticListenerForEverything : EventListenerBase 8 | { 9 | public List Events { get; set; } 10 | 11 | public StaticListenerForEverything() 12 | { 13 | Events = new List(); 14 | } 15 | 16 | public override void OnEvent( IEvent value ) 17 | { 18 | Events.Add( value ); 19 | } 20 | } 21 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Domain/Listeners/StaticVehicleEventListener.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using Symbiote.Core.UnitOfWork; 4 | 5 | namespace Core.Tests.Domain.Listeners 6 | { 7 | public class StaticVehicleEventListener : EventListenerBase 8 | { 9 | public List Events { get; set; } 10 | 11 | public StaticVehicleEventListener() : base ( false ) 12 | { 13 | Events = new List(); 14 | } 15 | 16 | public override void OnEvent(VehicleGenericEvent value) 17 | { 18 | Events.Add( value ); 19 | } 20 | } 21 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Domain/Listeners/VehicleGenericEvent.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using Symbiote.Core.UnitOfWork; 3 | 4 | namespace Core.Tests.Domain.Listeners 5 | { 6 | public class VehicleGenericEvent : IEvent 7 | { 8 | public Guid EventId { get; set; } 9 | public string ActorType { get; set; } 10 | public string ActorId { get; set; } 11 | public DateTime UtcTimeStamp { get; set; } 12 | } 13 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Domain/Listeners/VehicleGenericEventChild.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Tests.Domain.Listeners 2 | { 3 | public class VehicleGenericEventChild : VehicleGenericEvent 4 | { 5 | // test sub type. the StaticVehicleEventListener class should NOT be listening for this one.... 6 | } 7 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Domain/Memoization/AddressMemento.cs: -------------------------------------------------------------------------------- 1 | using Core.Tests.Domain.Model; 2 | 3 | namespace Core.Tests.Domain.Memoization 4 | { 5 | public class AddressMemento : IAddressMemento 6 | { 7 | public int StreetNumber { get; set; } 8 | public string StreetName { get; set; } 9 | public string City { get; set; } 10 | public string State { get; set; } 11 | public string Zip { get; set; } 12 | } 13 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Domain/Model/DriverKeyAccessor.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using Symbiote.Core; 3 | 4 | namespace Core.Tests.Domain.Model 5 | { 6 | public class DriverKeyAccessor : IKeyAccessor 7 | { 8 | public string GetId( IHaveTestKey actor ) 9 | { 10 | return actor.Id.ToString(); 11 | } 12 | 13 | public void SetId( IHaveTestKey actor, TKey key ) 14 | { 15 | actor.Id = Guid.Parse( key.ToString() ); 16 | } 17 | } 18 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Domain/Model/IAddressMemento.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Tests.Domain.Model 2 | { 3 | public interface IAddressMemento 4 | { 5 | int StreetNumber { get; set; } 6 | string StreetName { get; set; } 7 | string City { get; set; } 8 | string State { get; set; } 9 | string Zip { get; set; } 10 | } 11 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Domain/Model/IDriverMemento.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using Core.Tests.Domain.Memoization; 4 | 5 | namespace Core.Tests.Domain.Model 6 | { 7 | public interface IDriverMemento 8 | { 9 | string SSN { get; set; } 10 | string FirstName { get; set; } 11 | string LastName { get; set; } 12 | DateTime DateOfBirth { get; set; } 13 | IAddressMemento CurrentAddress { get; set; } 14 | IList FormerAddresses { get; set; } 15 | IList Vehicles { get; set; } 16 | 17 | IAddressMemento CreateAddressMemento(); 18 | IVehicleMemento CreateVehicleMemento(); 19 | } 20 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Domain/Model/IHaveTestKey.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Core.Tests.Domain.Model 4 | { 5 | public interface IHaveTestKey 6 | { 7 | Guid Id { get; set; } 8 | } 9 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Domain/Model/IVehicleMemento.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Tests.Domain.Model 2 | { 3 | public interface IVehicleMemento 4 | { 5 | string Vin { get; set; } 6 | string Make { get; set; } 7 | string Model { get; set; } 8 | int Year { get; set; } 9 | } 10 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Domain/Model/VehicleKeyAccessor.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using Symbiote.Core; 3 | 4 | namespace Core.Tests.Domain.Model 5 | { 6 | public class VehicleKeyAccessor : IKeyAccessor 7 | { 8 | public string GetId( Vehicle actor ) 9 | { 10 | return actor.Id.ToString(); 11 | } 12 | 13 | public void SetId( Vehicle actor, TKey key ) 14 | { 15 | actor.Id = Guid.Parse( key.ToString() ); 16 | } 17 | } 18 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Extensions/when_enumerable_has_one_element.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using System.Linq; 3 | using Machine.Specifications; 4 | using Symbiote.Core.Extensions; 5 | 6 | namespace Core.Tests.Extensions 7 | { 8 | [Subject("enumerable")] 9 | public class when_enumerable_has_one_element : with_one_element 10 | { 11 | private Because of = () => { permutations = enumerable.UniquePermutations(); }; 12 | 13 | private It should_have_one_permutation = () => ShouldExtensionMethods.ShouldEqual( permutations.Count(), 1); 14 | private It should_have_correct_permutations = () => permutations.ShouldContain(new List{"A"}); 15 | } 16 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Extensions/when_enumerable_is_empty.cs: -------------------------------------------------------------------------------- 1 | using Machine.Specifications; 2 | using Symbiote.Core.Extensions; 3 | 4 | namespace Core.Tests.Extensions 5 | { 6 | [Subject("enumerable")] 7 | public class when_enumerable_is_empty : with_empty_enumerable 8 | { 9 | private Because of = () => { permutations = enumerable.UniquePermutations(); }; 10 | 11 | private It should_return_an_empty_enumeration = () => permutations.ShouldBeEmpty(); 12 | } 13 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Extensions/when_enumerable_is_null.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using Machine.Specifications; 3 | using Symbiote.Core.Extensions; 4 | 5 | namespace Core.Tests.Extensions 6 | { 7 | [Subject("enumerable")] 8 | public class when_enumerable_is_null : with_null_enumerable 9 | { 10 | private Because of = () => 11 | { 12 | _resultingException = Catch.Exception(() => permutations = enumerable.UniquePermutations()); 13 | }; 14 | 15 | private It should_throw_argument_null_exception = () => _resultingException.ShouldBeOfType 16 | (); 17 | } 18 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Extensions/with_empty_enumerable.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using Machine.Specifications; 3 | 4 | namespace Core.Tests.Extensions 5 | { 6 | public abstract class with_empty_enumerable : with_permutations 7 | { 8 | protected static List enumerable; 9 | protected Establish context = () => { enumerable = new List(); }; 10 | } 11 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Extensions/with_exception.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Core.Tests.Extensions 4 | { 5 | 6 | public abstract class with_exception 7 | { 8 | protected static Exception _resultingException; 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /tests/Core.Tests/Extensions/with_four_elements.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using Machine.Specifications; 3 | 4 | namespace Core.Tests.Extensions 5 | { 6 | public abstract class with_four_elements : with_permutations 7 | { 8 | protected static List enumerable; 9 | private Establish context = () => { enumerable = new List {"A", "B", "C", "D"}; }; 10 | } 11 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Extensions/with_null_enumerable.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using Machine.Specifications; 3 | 4 | namespace Core.Tests.Extensions 5 | { 6 | public abstract class with_null_enumerable : with_permutations 7 | { 8 | protected static List enumerable; 9 | private Establish context = () => { enumerable = null; }; 10 | } 11 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Extensions/with_one_element.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using Machine.Specifications; 3 | 4 | namespace Core.Tests.Extensions 5 | { 6 | public abstract class with_one_element : with_permutations 7 | { 8 | protected static List enumerable; 9 | private Establish context = () => { enumerable = new List {"A"}; }; 10 | } 11 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Extensions/with_permutations.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | 3 | namespace Core.Tests.Extensions 4 | { 5 | public abstract class with_permutations : with_exception 6 | { 7 | protected static IEnumerable> permutations; 8 | } 9 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Extensions/with_three_elements.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using Machine.Specifications; 3 | 4 | namespace Core.Tests.Extensions 5 | { 6 | public abstract class with_three_elements : with_permutations 7 | { 8 | protected static List enumerable; 9 | private Establish context = () => { enumerable = new List { "A", "B", "C" }; }; 10 | } 11 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Extensions/with_two_elements.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using Machine.Specifications; 3 | 4 | namespace Core.Tests.Extensions 5 | { 6 | public abstract class with_two_elements : with_permutations 7 | { 8 | protected static List enumerable; 9 | private Establish context = () => { enumerable = new List { "A", "B" }; }; 10 | } 11 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Json/Collections/Car.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Tests.Json.Collections 2 | { 3 | public class Car : IGotsaNameYo 4 | { 5 | public string Name { get; set; } 6 | public string Make { get; set; } 7 | public int Year { get; set; } 8 | } 9 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Json/Collections/IGotsaNameYo.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Tests.Json.Collections 2 | { 3 | public interface IGotsaNameYo 4 | { 5 | string Name { get; set; } 6 | } 7 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Json/Collections/Person.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Tests.Json.Collections 2 | { 3 | public class Person : IGotsaNameYo 4 | { 5 | public string Name { get; set; } 6 | public int Age { get; set; } 7 | } 8 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Json/Collections/Stuff.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | 3 | namespace Core.Tests.Json.Collections 4 | { 5 | public class Stuff 6 | { 7 | public IGotsaNameYo Thingy { get; set; } 8 | public List list { get; set; } 9 | } 10 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Json/Decorator/Decorator.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Tests.Json.Decorator 2 | { 3 | public class Decorator 4 | { 5 | public string Revision { get; set; } 6 | public T Base { get; set; } 7 | } 8 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Json/Decorator/HaveIdKeyAccessor.cs: -------------------------------------------------------------------------------- 1 | using Symbiote.Core; 2 | 3 | namespace Core.Tests.Json.Decorator 4 | { 5 | public class HaveIdKeyAccessor 6 | : IKeyAccessor 7 | { 8 | public string GetId( IHaveKey actor ) 9 | { 10 | return actor.Id; 11 | } 12 | 13 | public void SetId( IHaveKey actor, TKey key ) 14 | { 15 | actor.Id = key.ToString(); 16 | } 17 | } 18 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Json/Decorator/IHaveKey.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Tests.Json.Decorator 2 | { 3 | public interface IHaveKey 4 | { 5 | string Id { get; set; } 6 | } 7 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Json/Decorator/Underlying.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Tests.Json.Decorator 2 | { 3 | public class Underlying 4 | : IHaveKey 5 | { 6 | public string Id { get; set; } 7 | public string Name { get; set; } 8 | } 9 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Json/Decorator/when_serializing_decorator.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Globalization; 4 | using System.Linq; 5 | using System.Reflection; 6 | using System.Runtime.InteropServices.Expando; 7 | using System.Text; 8 | 9 | namespace Core.Tests.Json.Decorator 10 | { 11 | class when_serializing_decorator 12 | { 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /tests/Core.Tests/Json/Performance/IGotMessageForYou.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Tests.Json.Performance 2 | { 3 | public interface IGotMessageForYou 4 | { 5 | string Message { get; set; } 6 | } 7 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Json/Performance/SerializationTarget.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Core.Tests.Json.Performance 4 | { 5 | [Serializable] 6 | public class SerializationTarget : IGotMessageForYou 7 | 8 | { 9 | public int Id { get; set; } 10 | public string Message { get; set; } 11 | } 12 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Json/TestClass.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Tests.Json 2 | { 3 | public class TestClass 4 | { 5 | public object Content { get; set; } 6 | } 7 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Json/when_serializing_objects.cs: -------------------------------------------------------------------------------- 1 | using Machine.Specifications; 2 | using Symbiote.Core.Serialization; 3 | 4 | namespace Core.Tests.Json 5 | { 6 | public class when_serializing_objects : with_assimilation 7 | { 8 | protected static TestClass test = new TestClass() { Content = "yay"}; 9 | protected static TestClass result; 10 | 11 | private Because of = () => 12 | { 13 | var json = test.ToJson(); 14 | result = json.FromJson(); 15 | }; 16 | 17 | private It should_deserialize_correctly = () => result.Content.ShouldEqual(test.Content); 18 | } 19 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Json/when_serializing_string.cs: -------------------------------------------------------------------------------- 1 | using Machine.Specifications; 2 | using Symbiote.Core.Extensions; 3 | using Symbiote.Core.Serialization; 4 | 5 | namespace Core.Tests.Json 6 | { 7 | [Subject("JSON Serialization")] 8 | public class when_serializing_string : with_assimilation 9 | { 10 | protected static string test = "this is a string"; 11 | protected static string result; 12 | 13 | private Because of = () => { result = test.ToJson(false); }; 14 | 15 | private It should_not_include_braces = () => result.ShouldEqual("\"{0}\"".AsFormat(test)); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /tests/Core.Tests/Log/when_logging_without_initialization.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using Machine.Specifications; 6 | using Symbiote.Core.Log; 7 | using Symbiote.Core.Log.Impl; 8 | 9 | namespace Core.Tests.Log 10 | { 11 | public class when_logging_without_initialization : with_log_manager 12 | { 13 | private Because of = () => 14 | { 15 | LogManager.Log( LogLevel.Debug, "test" ); 16 | }; 17 | 18 | private It should_have_called_null_logger = () => NullLogger.Called.ShouldBeTrue(); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /tests/Core.Tests/Log/with_test_logger.cs: -------------------------------------------------------------------------------- 1 | using Machine.Specifications; 2 | using Symbiote.Core; 3 | using Symbiote.Core.Log.Impl; 4 | 5 | namespace Core.Tests.Log 6 | { 7 | public class with_test_logger : with_assimilation 8 | { 9 | protected static TestLogProvider LogProvider; 10 | 11 | private Establish context = () => 12 | { 13 | Assimilate.UseTestLogAdapter( Assimilate.Assimilation ); 14 | }; 15 | } 16 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Mementos/with_driver.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using Core.Tests.Actor.Domain.Model; 3 | using Machine.Specifications; 4 | using Symbiote.Core; 5 | using Symbiote.Core.Memento; 6 | 7 | namespace Core.Tests.Mementos 8 | { 9 | public class with_driver 10 | : with_assimilation 11 | { 12 | public static Driver driver { get; set; } 13 | public static IMemoizer Memoizer { get; set; } 14 | 15 | private Establish context = () => 16 | { 17 | driver = new Driver( "123-45-6789", "Mr", "Rogers", DateTime.Parse( "01/01/1600" ) ); 18 | Memoizer = Assimilate.GetInstanceOf(); 19 | }; 20 | } 21 | } -------------------------------------------------------------------------------- /tests/Core.Tests/ProtoBuf/Base.cs: -------------------------------------------------------------------------------- 1 | using System.Runtime.Serialization; 2 | using ProtoBuf; 3 | 4 | namespace Core.Tests.ProtoBuf 5 | { 6 | [DataContract] 7 | [ProtoInclude(1, typeof(Class))] 8 | public class Base 9 | { 10 | [DataMember(Order = 10)] 11 | public string BaseProperty { get; set; } 12 | } 13 | } -------------------------------------------------------------------------------- /tests/Core.Tests/ProtoBuf/Class.cs: -------------------------------------------------------------------------------- 1 | using System.Runtime.Serialization; 2 | 3 | namespace Core.Tests.ProtoBuf 4 | { 5 | [DataContract] 6 | public class Class : Base 7 | { 8 | [DataMember(Order = 20)] 9 | public string ClassProperty { get; set; } 10 | } 11 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Reflection/ChildTestClass.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Tests.Reflection 2 | { 3 | public class ChildTestClass 4 | { 5 | public string val5a = "child"; 6 | public decimal val5b = 10.1m; 7 | } 8 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Reflection/Inheritence/InterfaceA.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Tests.Reflection.Inheritence 2 | { 3 | public interface InterfaceA 4 | { 5 | 6 | } 7 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Reflection/Inheritence/InterfaceB.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Tests.Reflection.Inheritence 2 | { 3 | public interface InterfaceB : InterfaceA 4 | { 5 | 6 | } 7 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Reflection/Inheritence/MyBase.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Tests.Reflection.Inheritence 2 | { 3 | public abstract class MyBase : InterfaceB 4 | { 5 | 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /tests/Core.Tests/Reflection/Inheritence/MyClass.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Tests.Reflection.Inheritence 2 | { 3 | public class MyClass : MyBase 4 | { 5 | } 6 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Reflection/TestClass.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Core.Tests.Reflection 4 | { 5 | public class TestClass 6 | { 7 | internal string val1 = "1"; 8 | protected int val2 = 2; 9 | private TimeSpan val3 = TimeSpan.FromSeconds(3); 10 | public Guid val4 = new Guid("00000000-0000-0000-0000-000000000004"); 11 | public ChildTestClass val5 { get; set; } 12 | 13 | public int GetVal2() 14 | { 15 | return val2; 16 | } 17 | 18 | public TimeSpan GetVal3() 19 | { 20 | return val3; 21 | } 22 | 23 | public TestClass() 24 | { 25 | val5 = new ChildTestClass(); 26 | } 27 | } 28 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Serialization/Additive.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Tests.Serialization 2 | { 3 | public class Additive 4 | { 5 | public string _id { get; set; } 6 | public string _rev { get; set; } 7 | public string[] _attachments { get; set; } 8 | public object document { get; set; } 9 | } 10 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Serialization/Extensions/FullyMarkedWithContract.cs: -------------------------------------------------------------------------------- 1 | using System.Runtime.Serialization; 2 | 3 | namespace Core.Tests.Serialization.Extensions 4 | { 5 | [DataContract] 6 | public class FullyMarkedWithContract 7 | { 8 | [DataMember()] 9 | public string Message { get; set; } 10 | 11 | public FullyMarkedWithContract() 12 | { 13 | } 14 | } 15 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Serialization/Extensions/HasADefaultConstructor.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Tests.Serialization.Extensions 2 | { 3 | public class HasADefaultConstructor 4 | { 5 | public string Message { get; set; } 6 | 7 | public HasADefaultConstructor() 8 | { 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Serialization/Extensions/MarkedReadonlyProperties.cs: -------------------------------------------------------------------------------- 1 | using Newtonsoft.Json; 2 | 3 | namespace Core.Tests.Serialization.Extensions 4 | { 5 | public class MarkedReadonlyProperties 6 | { 7 | [JsonIgnore] 8 | public string ReadOnly { get { return "test"; } } 9 | } 10 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Serialization/Extensions/MarkedWithContractButNoDefaultConstructor.cs: -------------------------------------------------------------------------------- 1 | using System.Runtime.Serialization; 2 | 3 | namespace Core.Tests.Serialization.Extensions 4 | { 5 | [DataContract] 6 | public class MarkedWithContractButNoDefaultConstructor 7 | : NoDefaultConstructor 8 | { 9 | public MarkedWithContractButNoDefaultConstructor( string message ) : base( message ) 10 | { 11 | } 12 | } 13 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Serialization/Extensions/NoDefaultConstructor.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Tests.Serialization.Extensions 2 | { 3 | public class NoDefaultConstructor 4 | { 5 | public string Message { get; set; } 6 | 7 | public NoDefaultConstructor( string message ) 8 | { 9 | Message = message; 10 | } 11 | } 12 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Serialization/Extensions/PartiallyMarkedWithContract.cs: -------------------------------------------------------------------------------- 1 | using System.Runtime.Serialization; 2 | 3 | namespace Core.Tests.Serialization.Extensions 4 | { 5 | [DataContract] 6 | public class PartiallyMarkedWithContract 7 | : NoDefaultConstructor 8 | { 9 | public PartiallyMarkedWithContract() : base( "test" ) 10 | { 11 | } 12 | } 13 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Serialization/Extensions/UnmarkedReadonlyProperties.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Tests.Serialization.Extensions 2 | { 3 | public class UnmarkedReadonlyProperties 4 | { 5 | public string ReadOnly { get { return "test"; } } 6 | } 7 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Serialization/IHazId.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Tests.Serialization 2 | { 3 | public interface IHazId 4 | { 5 | string Key { get; set; } 6 | } 7 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Serialization/JsonSerializer.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Linq.Expressions; 5 | using System.Text; 6 | 7 | namespace Core.Tests.Serialization { 8 | public class JsonSerializer 9 | { 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /tests/Core.Tests/Serialization/JsonTypeSerializationBuilder.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Tests.Serialization 2 | { 3 | public class JsonTypeSerializationBuilder 4 | { 5 | public const string QUOTE = "\""; 6 | public const string TITLE_END = "\":"; 7 | public const string OPEN_BRACE = "{"; 8 | public const string CLOSE_BRACE = "}"; 9 | public const string COMMA = ","; 10 | } 11 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Serialization/Level1a.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | 3 | namespace Core.Tests.Serialization 4 | { 5 | public class Level1a : IHazId 6 | { 7 | public string Key { get; set; } 8 | public IDictionary Lookup2a { get; set; } 9 | public HashSet Set2b { get; set; } 10 | public Queue Set2c { get; set; } 11 | 12 | public Level1a() 13 | { 14 | Lookup2a = new Dictionary(); 15 | Set2b = new HashSet(); 16 | Set2c = new Queue(); 17 | } 18 | } 19 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Serialization/Level1b.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Core.Tests.Serialization 4 | { 5 | public class Level1b : IHazId 6 | { 7 | public string Key { get; set; } 8 | public string Property1 { get; set; } 9 | public decimal Property2 { get; set; } 10 | public DateTime Created { get; set; } 11 | } 12 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Serialization/Level2a.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Tests.Serialization 2 | { 3 | public class Level2a : IHazId 4 | { 5 | public string Key { get; set; } 6 | public int Amount { get; set; } 7 | public bool Flag { get; set; } 8 | } 9 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Serialization/Level2b.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Tests.Serialization 2 | { 3 | public class Level2b : IHazId 4 | { 5 | public string Key { get; set; } 6 | public byte[] Bytes { get; set; } 7 | } 8 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Serialization/Level2c.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Tests.Serialization 2 | { 3 | public class Level2c : IHazId 4 | { 5 | public string Key { get; set; } 6 | public long BigNumber { get; set; } 7 | } 8 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Serialization/Level3.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Tests.Serialization 2 | { 3 | public class Level3 : IHazId 4 | { 5 | public string Key { get; set; } 6 | } 7 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Serialization/Root.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | 3 | namespace Core.Tests.Serialization 4 | { 5 | public class Root : IHazId 6 | { 7 | public string Key { get; set; } 8 | public IList AList { get; set; } 9 | public Level1b[] BArray { get; set; } 10 | 11 | public Root() 12 | { 13 | AList = new List(); 14 | BArray = new Level1b[5]; 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /tests/Core.Tests/StateMachine/when_transitioning_state.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using Machine.Specifications; 6 | 7 | namespace Core.Tests.StateMachine 8 | { 9 | public class when_transitioning_state 10 | { 11 | private Because of = () => 12 | { 13 | 14 | }; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /tests/Core.Tests/Trees/when_adding_nodes_to_hashed_avl.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using Machine.Specifications; 3 | using Symbiote.Core.Trees; 4 | 5 | namespace Core.Tests.Trees 6 | { 7 | public class when_adding_nodes_to_hashed_avl : with_populated_trees 8 | { 9 | private It should_have_balanced = () => ShouldExtensionMethods.ShouldBeLessThanOrEqualTo( Math.Abs( 10 | ( HashedAvl as HashedAvlTree ).Root.Left.Count - 11 | ( HashedAvl as HashedAvlTree ).Root.Right.Count 12 | ), HashedAvl.Count * .75 ); 13 | } 14 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Trees/with_populated_trees.cs: -------------------------------------------------------------------------------- 1 | using Machine.Specifications; 2 | 3 | namespace Core.Tests.Trees 4 | { 5 | public class with_populated_trees : with_tree_operations 6 | { 7 | private Establish context = () => { 8 | AddNodesToTree( RedBlack ); 9 | AddNodesToTree( HashedRedBlack ); 10 | AddNodesToTree( Avl ); 11 | AddNodesToTree( HashedAvl ); 12 | }; 13 | } 14 | } -------------------------------------------------------------------------------- /tests/Core.Tests/UnitOfWork/with_EventListenerManager.cs: -------------------------------------------------------------------------------- 1 | using System.Text; 2 | using Machine.Specifications; 3 | using Symbiote.Core; 4 | using Symbiote.Core.UnitOfWork; 5 | 6 | namespace Core.Tests.UnitOfWork 7 | { 8 | public class with_EventListenerManager : with_assimilation 9 | { 10 | public static IEventListenerManager Manager; 11 | 12 | private Establish context = () => 13 | { 14 | Manager = Assimilate.GetInstanceOf(); 15 | }; 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /tests/Core.Tests/Utility/Futures/when_using_future_coroutine.cs: -------------------------------------------------------------------------------- 1 | using Machine.Specifications; 2 | using Symbiote.Core.Futures; 3 | 4 | namespace Core.Tests.Utility.Futures 5 | { 6 | public class when_using_future_coroutine 7 | : with_callback 8 | { 9 | private Because of = () => 10 | { 11 | expected = 5; 12 | waitFor = 3; 13 | result = Future.Of(GetResult).WaitFor( waitFor ); 14 | }; 15 | 16 | private It should_get_result_in_time = () => result.ShouldEqual(expected); 17 | } 18 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Utility/Futures/when_using_future_coroutine_invoked_immediately.cs: -------------------------------------------------------------------------------- 1 | using System.Threading; 2 | using Machine.Specifications; 3 | using Symbiote.Core.Futures; 4 | 5 | namespace Core.Tests.Utility.Futures 6 | { 7 | public class when_using_future_coroutine_invoked_immediately 8 | : with_callback 9 | { 10 | 11 | private Because of = () => 12 | { 13 | expected = 5; 14 | waitFor = 10; 15 | int futureCallback = Future.Of(GetResult).WaitFor(1).OnFailure(() => expected);//.Now(); 16 | Thread.Sleep( waitFor ); 17 | result = futureCallback; 18 | }; 19 | 20 | private It should_get_failure_value = () => result.ShouldEqual(expected); 21 | } 22 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Utility/Futures/when_using_future_coroutine_on_failure.cs: -------------------------------------------------------------------------------- 1 | using Machine.Specifications; 2 | using Symbiote.Core.Futures; 3 | 4 | namespace Core.Tests.Utility.Futures 5 | { 6 | public class when_using_future_coroutine_on_failure 7 | : with_callback 8 | { 9 | private Because of = () => 10 | { 11 | expected = 5; 12 | waitFor = 10; 13 | result = Future.Of(GetResult).WaitFor(1).OnFailure( () => expected ); 14 | }; 15 | 16 | private It should_get_failure_value = () => result.ShouldEqual(expected); 17 | } 18 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Utility/Futures/when_using_future_func.cs: -------------------------------------------------------------------------------- 1 | using Machine.Specifications; 2 | using Symbiote.Core.Futures; 3 | 4 | namespace Core.Tests.Utility.Futures 5 | { 6 | public class when_using_future_func 7 | : with_function_call 8 | { 9 | private Because of = () => 10 | { 11 | waitFor = 10; 12 | expected = 5; 13 | result = Future.Of(GetResult).WaitFor(waitFor); 14 | }; 15 | 16 | private It should_get_result_in_time = () => result.ShouldEqual( expected ); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /tests/Core.Tests/Utility/Futures/when_using_future_func_with_retries.cs: -------------------------------------------------------------------------------- 1 | using Machine.Specifications; 2 | using Symbiote.Core.Futures; 3 | 4 | namespace Core.Tests.Utility.Futures 5 | { 6 | public class when_using_future_func_with_retries 7 | : with_function_call 8 | { 9 | private Because of = () => 10 | { 11 | expected = 5; 12 | waitFor = 2; 13 | result = new FutureResult(GetResult).WaitFor(1).MaxRetries( 10 ); 14 | }; 15 | 16 | private It should_get_result_in_time = () => result.ShouldEqual(5); 17 | } 18 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Utility/Futures/with_callback.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Threading; 3 | 4 | namespace Core.Tests.Utility.Futures 5 | { 6 | public class with_callback 7 | { 8 | protected static int result { get; set; } 9 | protected static int waitFor { get; set; } 10 | protected static int expected { get; set; } 11 | 12 | public static void GetResult(Action callback) 13 | { 14 | int val = 5; 15 | Thread.Sleep(waitFor - 1); 16 | callback(val); 17 | } 18 | } 19 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Utility/Futures/with_function_call.cs: -------------------------------------------------------------------------------- 1 | using System.Threading; 2 | 3 | namespace Core.Tests.Utility.Futures 4 | { 5 | public class with_function_call 6 | { 7 | protected static int result { get; set; } 8 | protected static int waitFor { get; set; } 9 | protected static int expected { get; set; } 10 | 11 | public static int GetResult() 12 | { 13 | int val = 5; 14 | Thread.Sleep(waitFor - 1); 15 | return val; 16 | } 17 | } 18 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Utility/ObserverCollection/TestObserver.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Core.Tests.Utility.ObserverCollection 4 | { 5 | public class TestObserver : IObserver 6 | { 7 | public bool GotEvent { get; set; } 8 | public bool GotError { get; set; } 9 | public bool GotCompletion { get; set; } 10 | 11 | public void OnNext( string value ) 12 | { 13 | GotEvent = true; 14 | } 15 | 16 | public void OnError( Exception error ) 17 | { 18 | GotError = true; 19 | } 20 | 21 | public void OnCompleted() 22 | { 23 | GotCompletion = true; 24 | } 25 | } 26 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Utility/ObserverCollection/with_observer.cs: -------------------------------------------------------------------------------- 1 | using Machine.Specifications; 2 | using Symbiote.Core.Utility; 3 | 4 | namespace Core.Tests.Utility.ObserverCollection 5 | { 6 | public class with_observer 7 | { 8 | protected static ObserverCollection Observers; 9 | protected static TestObserver Observer; 10 | 11 | private Establish context = () => 12 | { 13 | Observers = new ObserverCollection(); 14 | Observer = new TestObserver(); 15 | }; 16 | } 17 | } -------------------------------------------------------------------------------- /tests/Core.Tests/Utility/RingBuffer/with_buffer.cs: -------------------------------------------------------------------------------- 1 | using Machine.Specifications; 2 | 3 | namespace Core.Tests.Utility.RingBuffer 4 | { 5 | public class with_buffer 6 | { 7 | public static int Size = 10000; 8 | public static Symbiote.Core.Concurrency.RingBuffer Buffer { get; set; } 9 | private Establish context = () => 10 | { 11 | Buffer = new Symbiote.Core.Concurrency.RingBuffer(Size); 12 | }; 13 | } 14 | } -------------------------------------------------------------------------------- /tests/Core.Tests/when_initializing_symbiote.cs: -------------------------------------------------------------------------------- 1 | namespace Core.Tests 2 | { 3 | public class when_initializing_symbiote 4 | : with_assimilation 5 | { 6 | 7 | } 8 | } -------------------------------------------------------------------------------- /tests/Core.Tests/with_assimilation.cs: -------------------------------------------------------------------------------- 1 | using Machine.Specifications; 2 | using Symbiote.Core; 3 | 4 | namespace Core.Tests 5 | { 6 | public class with_assimilation 7 | { 8 | private Establish context = () => 9 | { 10 | Assimilate.Initialize(); 11 | }; 12 | } 13 | } -------------------------------------------------------------------------------- /tests/Daemon.Tests/Daemon.Tests.pidb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/tests/Daemon.Tests/Daemon.Tests.pidb -------------------------------------------------------------------------------- /tests/Daemon.Tests/when_checking_for_minion_key_accessor.cs: -------------------------------------------------------------------------------- 1 | using Machine.Specifications; 2 | using Symbiote.Core; 3 | using Symbiote.Daemon.BootStrap; 4 | 5 | namespace Daemon.Tests 6 | { 7 | public class when_checking_for_minion_key_accessor 8 | : with_assimilation 9 | { 10 | public static IKeyAccessor MinionKeyAccessor { get; set; } 11 | 12 | private Because of = () => 13 | { 14 | MinionKeyAccessor = Assimilate.GetInstanceOf>(); 15 | }; 16 | 17 | private It should_have_accessor = () => MinionKeyAccessor.ShouldNotBeNull(); 18 | } 19 | } -------------------------------------------------------------------------------- /tests/Daemon.Tests/with_assimilation.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using Machine.Specifications; 6 | using Symbiote.Core; 7 | using Symbiote.Daemon; 8 | using Symbiote.StructureMapAdapter; 9 | 10 | namespace Daemon.Tests 11 | { 12 | public class with_assimilation 13 | { 14 | private Establish context = () => 15 | { 16 | Assimilate 17 | .Initialize() 18 | .Daemon( x => x.Arguments( new string[] {} ) ); 19 | }; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /tests/Eidetic.Tests/Eidetic.Tests.pidb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/tests/Eidetic.Tests/Eidetic.Tests.pidb -------------------------------------------------------------------------------- /tests/Http.Tests/Http.Tests.pidb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/tests/Http.Tests/Http.Tests.pidb -------------------------------------------------------------------------------- /tests/Http.Tests/with_full_uri_get_request.cs: -------------------------------------------------------------------------------- 1 | using System.Text; 2 | using Machine.Specifications; 3 | 4 | namespace Http.Tests 5 | { 6 | public abstract class with_full_uri_get_request 7 | : with_timer 8 | { 9 | public static string request_body; 10 | public static byte[] bytes; 11 | 12 | private Establish context = () => 13 | { 14 | request_body = 15 | @"GET http://localhost:8080/fun/times?id=101&rev=234 HTTP/1.1 16 | Content-Type: text/plain 17 | "; 18 | bytes = Encoding.UTF8.GetBytes( request_body ); 19 | }; 20 | } 21 | } -------------------------------------------------------------------------------- /tests/Http.Tests/with_relative_get_request.cs: -------------------------------------------------------------------------------- 1 | using System.Text; 2 | using Machine.Specifications; 3 | 4 | namespace Http.Tests 5 | { 6 | public abstract class with_relative_get_request 7 | : with_timer 8 | { 9 | public static string request_body; 10 | public static byte[] bytes; 11 | 12 | private Establish context = () => 13 | { 14 | request_body = 15 | @"GET /fun/times?id=101&rev=234 HTTP/1.1 16 | Host: localhost:8080 17 | 18 | "; 19 | 20 | bytes = Encoding.UTF8.GetBytes( request_body ); 21 | }; 22 | } 23 | } -------------------------------------------------------------------------------- /tests/Http.Tests/with_timer.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using System.Diagnostics; 3 | using System.Linq; 4 | using Symbiote.Http.Owin; 5 | 6 | namespace Http.Tests 7 | { 8 | public abstract class with_timer 9 | { 10 | public static Stopwatch Timer { get; set; } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /tests/Lucene.Tests/Lucene.Tests.pidb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/tests/Lucene.Tests/Lucene.Tests.pidb -------------------------------------------------------------------------------- /tests/Messaging.Tests/Extensions/BaseType.cs: -------------------------------------------------------------------------------- 1 | namespace Messaging.Tests.Extensions 2 | { 3 | public class BaseType 4 | { 5 | 6 | } 7 | } -------------------------------------------------------------------------------- /tests/Messaging.Tests/Extensions/ChildType.cs: -------------------------------------------------------------------------------- 1 | namespace Messaging.Tests.Extensions 2 | { 3 | public class ChildType 4 | : BaseType, InterfaceType 5 | { 6 | 7 | } 8 | } -------------------------------------------------------------------------------- /tests/Messaging.Tests/Extensions/IndependentType.cs: -------------------------------------------------------------------------------- 1 | namespace Messaging.Tests.Extensions 2 | { 3 | public class IndependentType 4 | { 5 | 6 | } 7 | } -------------------------------------------------------------------------------- /tests/Messaging.Tests/Extensions/InterfaceType.cs: -------------------------------------------------------------------------------- 1 | namespace Messaging.Tests.Extensions 2 | { 3 | public interface InterfaceType 4 | { 5 | 6 | } 7 | } -------------------------------------------------------------------------------- /tests/Messaging.Tests/Local/HandleInterface/IAmAMessage.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace Messaging.Tests.Local.HandleInterface 7 | { 8 | public interface IAmAMessage 9 | { 10 | string Text { get; set; } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /tests/Messaging.Tests/Local/HandleInterface/MessageA.cs: -------------------------------------------------------------------------------- 1 | namespace Messaging.Tests.Local.HandleInterface 2 | { 3 | public class MessageA : IAmAMessage 4 | { 5 | public string Text { get; set; } 6 | } 7 | } -------------------------------------------------------------------------------- /tests/Messaging.Tests/Local/HandleInterface/MessageB.cs: -------------------------------------------------------------------------------- 1 | namespace Messaging.Tests.Local.HandleInterface 2 | { 3 | public class MessageB : IAmAMessage 4 | { 5 | public string Text { get; set; } 6 | } 7 | } -------------------------------------------------------------------------------- /tests/Messaging.Tests/Local/with_bus.cs: -------------------------------------------------------------------------------- 1 | using Machine.Specifications; 2 | using Messaging.Tests.Local.HandleInterface; 3 | using Symbiote.Core; 4 | using Symbiote.Messaging; 5 | 6 | namespace Messaging.Tests.Local 7 | { 8 | public class with_bus 9 | : with_assimilation 10 | { 11 | protected static IBus bus { get; set; } 12 | 13 | private Establish context = () => 14 | { 15 | bus = Assimilate.GetInstanceOf(); 16 | bus.AddLocalChannel( ); 17 | }; 18 | } 19 | } -------------------------------------------------------------------------------- /tests/Messaging.Tests/MessageSerializers/BinaryAndJsonMessage.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Runtime.Serialization; 3 | 4 | namespace Messaging.Tests.MessageSerializers 5 | { 6 | [DataContract] 7 | [Serializable] 8 | public class BinaryAndJsonMessage 9 | { 10 | [DataMember(Order = 1)] 11 | public string Text { get; set; } 12 | 13 | //This member is unmarked but public 14 | // breaking protobuf compatibility 15 | public int Number { get; set; } 16 | } 17 | } -------------------------------------------------------------------------------- /tests/Messaging.Tests/MessageSerializers/CompatibleMessage.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Runtime.Serialization; 3 | 4 | namespace Messaging.Tests.MessageSerializers 5 | { 6 | 7 | [Serializable] 8 | [DataContract] 9 | public class CompatibleMessage 10 | { 11 | [DataMember(IsRequired=false,Order=1)] 12 | public string Text { get; set; } 13 | public CompatibleMessage() {} 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /tests/Messaging.Tests/MessageSerializers/IncompatibleMessage.cs: -------------------------------------------------------------------------------- 1 | namespace Messaging.Tests.MessageSerializers 2 | { 3 | public class IncompatibleMessage 4 | { 5 | public string Text { get; set; } 6 | 7 | public IncompatibleMessage( string text ) 8 | { 9 | Text = text; 10 | } 11 | } 12 | } -------------------------------------------------------------------------------- /tests/Messaging.Tests/MessageSerializers/JsonOnlyMessage.cs: -------------------------------------------------------------------------------- 1 | using System.Runtime.Serialization; 2 | 3 | namespace Messaging.Tests.MessageSerializers 4 | { 5 | [DataContract] 6 | public class JsonOnlyMessage 7 | { 8 | [DataMember(Order = 1)] 9 | public string Text { get; set; } 10 | 11 | //This member is unmarked but public 12 | // breaking protobuf compatibility 13 | public int Number { get; set; } 14 | } 15 | } -------------------------------------------------------------------------------- /tests/Messaging.Tests/Messaging.Tests.pidb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/tests/Messaging.Tests/Messaging.Tests.pidb -------------------------------------------------------------------------------- /tests/Messaging.Tests/RequestResponse/AuctionFactory.cs: -------------------------------------------------------------------------------- 1 | using Symbiote.Core.Actor; 2 | 3 | namespace Messaging.Tests.RequestResponse 4 | { 5 | public class AuctionFactory 6 | : IActorFactory 7 | { 8 | public Auction CreateInstance( TKey id ) 9 | { 10 | return new Auction() 11 | { 12 | Item = id.ToString() 13 | }; 14 | } 15 | } 16 | } -------------------------------------------------------------------------------- /tests/Messaging.Tests/RequestResponse/AuctionKeyAccessor.cs: -------------------------------------------------------------------------------- 1 | using Symbiote.Core; 2 | using Symbiote.Core.UnitOfWork; 3 | 4 | namespace Messaging.Tests.RequestResponse 5 | { 6 | public class AuctionKeyAccessor 7 | : IKeyAccessor 8 | { 9 | public string GetId( Auction actor ) 10 | { 11 | return actor.Item; 12 | } 13 | 14 | public void SetId( Auction actor, TKey key ) 15 | { 16 | actor.Item = key.ToString(); 17 | } 18 | } 19 | } -------------------------------------------------------------------------------- /tests/Messaging.Tests/RequestResponse/AuctionKeyAccessor.cs.orig: -------------------------------------------------------------------------------- 1 | <<<<<<< HEAD 2 | using Symbiote.Core.UnitOfWork; 3 | ======= 4 | using Symbiote.Core; 5 | using Symbiote.Core.UnitOfWork; 6 | >>>>>>> Beginning work on app domain hot loading 7 | 8 | namespace Messaging.Tests.RequestResponse 9 | { 10 | public class AuctionKeyAccessor 11 | : IKeyAccessor 12 | { 13 | public string GetId( Auction actor ) 14 | { 15 | return actor.Item; 16 | } 17 | 18 | public void SetId( Auction actor, TKey id ) 19 | { 20 | actor.Item = id.ToString(); 21 | } 22 | } 23 | } -------------------------------------------------------------------------------- /tests/Messaging.Tests/RequestResponse/Bid.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Messaging.Tests.RequestResponse 4 | { 5 | public class Bid 6 | { 7 | public string User { get; set; } 8 | public string Item { get; set; } 9 | public decimal Amount { get; set; } 10 | public DateTime MadeOn { get; set; } 11 | 12 | public Bid( string user, string item, decimal amount, DateTime madeOn ) 13 | { 14 | User = user; 15 | Item = item; 16 | Amount = amount; 17 | MadeOn = madeOn; 18 | } 19 | } 20 | } -------------------------------------------------------------------------------- /tests/Messaging.Tests/RequestResponse/BidProcessor.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using Symbiote.Messaging; 3 | 4 | namespace Messaging.Tests.RequestResponse 5 | { 6 | public class BidProcessor 7 | : IHandle 8 | { 9 | public Action Handle( Auction actor, MakeBid message ) 10 | { 11 | var bid = new Bid( 12 | message.User, 13 | message.Item, 14 | message.Amount, 15 | message.MadeOn ); 16 | var accepted = actor.AcceptBid(bid); 17 | return x => x.Acknowledge(); 18 | } 19 | } 20 | } -------------------------------------------------------------------------------- /tests/Messaging.Tests/RequestResponse/Reply.cs: -------------------------------------------------------------------------------- 1 | namespace Messaging.Tests.RequestResponse 2 | { 3 | public class Reply 4 | { 5 | public string Text { get; set; } 6 | } 7 | } -------------------------------------------------------------------------------- /tests/Messaging.Tests/RequestResponse/Request.cs: -------------------------------------------------------------------------------- 1 | namespace Messaging.Tests.RequestResponse 2 | { 3 | public class Request 4 | { 5 | public string Text { get; set; } 6 | } 7 | } -------------------------------------------------------------------------------- /tests/Messaging.Tests/RequestResponse/RequestHandler.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using Symbiote.Messaging; 3 | 4 | namespace Messaging.Tests.RequestResponse 5 | { 6 | public class RequestHandler : IHandle 7 | { 8 | public Action Handle( Request message ) 9 | { 10 | return x => x.Reply( new Reply() 11 | { 12 | Text = "I have an answer!" 13 | } ); 14 | } 15 | } 16 | } -------------------------------------------------------------------------------- /tests/Messaging.Tests/RequestResponse/when_making_request.cs: -------------------------------------------------------------------------------- 1 | using System.Linq; 2 | using System.Text; 3 | using System.Threading; 4 | using Machine.Specifications; 5 | using Messaging.Tests.Local; 6 | using Symbiote.Messaging; 7 | 8 | namespace Messaging.Tests.RequestResponse 9 | { 10 | public class when_making_request 11 | : with_bus 12 | { 13 | public static Reply Reply { get; set; } 14 | 15 | private Because of = () => 16 | { 17 | bus.AddLocalChannel(); 18 | Reply = bus.Request("local", new Request()).WaitFor( 20 ); 19 | }; 20 | 21 | private It should_have_response = () => Reply.Text.ShouldEqual( "I have an answer!" ); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /tests/Messaging.Tests/Sagas/Person.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Actor.Tests.Sagas 4 | { 5 | public class Person 6 | { 7 | public Guid Id { get; set; } 8 | public string Name { get; set; } 9 | public bool Initialized { get; set; } 10 | 11 | public Person() 12 | { 13 | Id = Guid.Empty; 14 | } 15 | } 16 | } -------------------------------------------------------------------------------- /tests/Messaging.Tests/Sagas/PersonFactory.cs: -------------------------------------------------------------------------------- 1 | using Symbiote.Core.Actor; 2 | 3 | namespace Actor.Tests.Sagas 4 | { 5 | public class PersonFactory : IActorFactory 6 | { 7 | public Person CreateInstance( TKey id ) 8 | { 9 | return new Person(); 10 | } 11 | } 12 | } -------------------------------------------------------------------------------- /tests/Messaging.Tests/Sagas/PersonKeyAccessor.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using Symbiote.Core; 3 | 4 | namespace Actor.Tests.Sagas 5 | { 6 | public class PersonKeyAccessor : IKeyAccessor 7 | { 8 | public string GetId( Person actor ) 9 | { 10 | return actor.Id.ToString(); 11 | } 12 | 13 | public void SetId( Person actor, TKey key ) 14 | { 15 | actor.Id = Guid.Parse( key.ToString() ); 16 | } 17 | } 18 | } -------------------------------------------------------------------------------- /tests/Messaging.Tests/Sagas/SetPersonName.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Actor.Tests.Sagas 4 | { 5 | public class SetPersonName 6 | { 7 | public Guid PersonId { get; set; } 8 | public string Name { get; set; } 9 | 10 | public SetPersonName() 11 | { 12 | PersonId = Guid.Empty; 13 | } 14 | } 15 | } -------------------------------------------------------------------------------- /tests/Messaging.Tests/Sagas/when_requesting_saga.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using System.Linq; 3 | using Machine.Specifications; 4 | using Messaging.Tests; 5 | using Symbiote.Core; 6 | using Symbiote.Messaging.Impl.Saga; 7 | 8 | namespace Actor.Tests.Sagas 9 | { 10 | public class when_requesting_saga 11 | : with_assimilation 12 | { 13 | public static IEnumerable Sagas { get; set; } 14 | 15 | private Because of = () => 16 | { 17 | Sagas = Assimilate.GetAllInstancesOf(); 18 | }; 19 | 20 | private It should_not_be_empty = () => 21 | Sagas.Count().ShouldBeGreaterThan( 0 ); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /tests/Messaging.Tests/Sagas/with_bus.cs: -------------------------------------------------------------------------------- 1 | using Machine.Specifications; 2 | using Messaging.Tests; 3 | using Symbiote.Core; 4 | using Symbiote.Messaging; 5 | 6 | namespace Actor.Tests.Sagas 7 | { 8 | public class with_bus 9 | : with_assimilation 10 | { 11 | public static IBus Bus { get; set; } 12 | private Establish context = () => 13 | { 14 | Bus = Assimilate.GetInstanceOf(); 15 | Bus.AddLocalChannel(x => x.CorrelateBy( m => m.PersonId.ToString() )); 16 | }; 17 | } 18 | } -------------------------------------------------------------------------------- /tests/Messaging.Tests/with_assimilation.cs: -------------------------------------------------------------------------------- 1 | using Machine.Specifications; 2 | using Symbiote.Core; 3 | using Symbiote.Messaging; 4 | 5 | namespace Messaging.Tests 6 | { 7 | public class with_assimilation 8 | { 9 | private Establish context = () => 10 | { 11 | Assimilate 12 | .Initialize() 13 | .UseTestLogAdapter(); 14 | }; 15 | } 16 | } -------------------------------------------------------------------------------- /tests/Mikado.Tests/Domain/Model/IHaveAge.cs: -------------------------------------------------------------------------------- 1 | namespace Mikado.Tests.Domain.Model 2 | { 3 | public interface IHaveAge 4 | { 5 | int Age { get; set; } 6 | } 7 | } -------------------------------------------------------------------------------- /tests/Mikado.Tests/Domain/Model/IHaveDepartment.cs: -------------------------------------------------------------------------------- 1 | namespace Mikado.Tests.Domain.Model 2 | { 3 | public interface IHaveDepartment 4 | { 5 | string Department { get; set; } 6 | } 7 | } -------------------------------------------------------------------------------- /tests/Mikado.Tests/Domain/Model/IHaveFirstName.cs: -------------------------------------------------------------------------------- 1 | namespace Mikado.Tests.Domain.Model 2 | { 3 | public interface IHaveFirstName 4 | { 5 | string FirstName { get; set; } 6 | } 7 | } -------------------------------------------------------------------------------- /tests/Mikado.Tests/Domain/Model/IHaveLastName.cs: -------------------------------------------------------------------------------- 1 | namespace Mikado.Tests.Domain.Model 2 | { 3 | public interface IHaveLastName 4 | { 5 | string LastName { get; set; } 6 | } 7 | } -------------------------------------------------------------------------------- /tests/Mikado.Tests/Domain/Model/IManager.cs: -------------------------------------------------------------------------------- 1 | namespace Mikado.Tests.Domain.Model 2 | { 3 | public interface IManager : IPerson, IHaveDepartment 4 | { 5 | 6 | } 7 | } -------------------------------------------------------------------------------- /tests/Mikado.Tests/Domain/Model/IPerson.cs: -------------------------------------------------------------------------------- 1 | namespace Mikado.Tests.Domain.Model 2 | { 3 | public interface IPerson : IHaveAge, IHaveFirstName, IHaveLastName, ITestKey 4 | { 5 | 6 | } 7 | 8 | public interface IAddress : IHaveAddress, IHaveCity, IHaveState, IHaveZipCode 9 | { 10 | 11 | } 12 | 13 | public interface IHaveAddress 14 | { 15 | string Address { get; set; } 16 | } 17 | 18 | public interface IHaveCity 19 | { 20 | string City { get; set; } 21 | } 22 | 23 | public interface IHaveState 24 | { 25 | string State { get; set; } 26 | } 27 | 28 | public interface IHaveZipCode 29 | { 30 | string ZipCode { get; set; } 31 | } 32 | } -------------------------------------------------------------------------------- /tests/Mikado.Tests/Domain/Model/ITestKey.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Mikado.Tests.Domain.Model 4 | { 5 | public interface ITestKey 6 | { 7 | Guid Id { get; set; } 8 | } 9 | } -------------------------------------------------------------------------------- /tests/Mikado.Tests/Domain/Model/Manager.cs: -------------------------------------------------------------------------------- 1 | namespace Mikado.Tests.Domain.Model 2 | { 3 | public class Manager : Person, IManager 4 | { 5 | public string Department { get; set; } 6 | } 7 | } -------------------------------------------------------------------------------- /tests/Mikado.Tests/Domain/Model/TestKeyAccessor.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using Symbiote.Core; 3 | 4 | namespace Mikado.Tests.Domain.Model 5 | { 6 | public class TestKeyAccessor : IKeyAccessor 7 | { 8 | public string GetId( ITestKey actor ) 9 | { 10 | return actor.Id.ToString(); 11 | } 12 | 13 | public void SetId( ITestKey actor, TKey key ) 14 | { 15 | actor.Id = Guid.Parse(key.ToString()); 16 | } 17 | } 18 | } -------------------------------------------------------------------------------- /tests/Mikado.Tests/Domain/Rules/AgeMustBePositiveInteger.cs: -------------------------------------------------------------------------------- 1 | using Mikado.Tests.Domain.Model; 2 | using Symbiote.Mikado.Impl; 3 | 4 | namespace Mikado.Tests.Domain.Rules 5 | { 6 | public class AgeMustBePositiveInteger : Rule 7 | { 8 | public AgeMustBePositiveInteger() 9 | : base(x => x.Age >= 0, "Age must be greater than or equal to 0.") 10 | { 11 | 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /tests/Mikado.Tests/Domain/Rules/LastNameCannotExceedLengthLimit.cs: -------------------------------------------------------------------------------- 1 | using Mikado.Tests.Domain.Model; 2 | using Symbiote.Mikado.Impl; 3 | 4 | namespace Mikado.Tests.Domain.Rules 5 | { 6 | public class LastNameCannotExceedLengthLimit : Rule 7 | { 8 | public LastNameCannotExceedLengthLimit() 9 | : base(x => x.LastName.Length <= 25, "LastName cannot exceed 25 characters.") 10 | { 11 | 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /tests/Mikado.Tests/Domain/Rules/LastNameCannotExceedLengthLimitRule.cs: -------------------------------------------------------------------------------- 1 | using Mikado.Tests.Domain.Model; 2 | using Symbiote.Mikado.Impl; 3 | 4 | namespace Mikado.Tests.Domain.Rules 5 | { 6 | public class LastNameCannotExceedLengthLimitRule : Rule 7 | { 8 | public LastNameCannotExceedLengthLimitRule() 9 | : base(x => x.LastName.Length <= 25, "LastName cannot exceed 25 characters.") 10 | { 11 | 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /tests/Mikado.Tests/Domain/TestSubscriber.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using Symbiote.Mikado; 4 | 5 | namespace Mikado.Tests.Domain 6 | { 7 | public class TestSubscriber : IListenToBrokenRules 8 | { 9 | public List BrokenRules = new List(); 10 | public bool ThrowException { get; set; } 11 | 12 | public void OnBrokenRule(IBrokenRuleNotification value) 13 | { 14 | if(!ThrowException) 15 | BrokenRules.Add( value ); 16 | else 17 | throw new Exception("TestSubscriber was told to throw an exception..."); 18 | } 19 | } 20 | } -------------------------------------------------------------------------------- /tests/Mikado.Tests/Mikado.Tests.pidb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/tests/Mikado.Tests/Mikado.Tests.pidb -------------------------------------------------------------------------------- /tests/Mikado.Tests/TestSetup/with_ioc_configuration.cs: -------------------------------------------------------------------------------- 1 | using Machine.Specifications; 2 | using Mikado.Tests.Domain.Model; 3 | using Symbiote.Core; 4 | using Symbiote.Core.UnitOfWork; 5 | using Symbiote.Mikado; 6 | using Symbiote.Mikado.Impl; 7 | using Symbiote.StructureMapAdapter; 8 | 9 | namespace Mikado.Tests.TestSetup 10 | { 11 | public class with_ioc_configuration 12 | { 13 | private Establish context = () => Assimilate.Initialize(); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /tests/Mikado.Tests/when_testing_rules_loaded_against_a_Manager_type.cs: -------------------------------------------------------------------------------- 1 | using Machine.Specifications; 2 | using Mikado.Tests.Domain.Model; 3 | using Mikado.Tests.Domain.Rules; 4 | using Mikado.Tests.TestSetup; 5 | using Symbiote.Mikado; 6 | using Symbiote.Mikado.Impl; 7 | using System.Linq; 8 | using StructureMap; 9 | 10 | namespace Mikado.Tests 11 | { 12 | 13 | } -------------------------------------------------------------------------------- /tests/Rabbit.Tests/ActorKeyAccessor.cs: -------------------------------------------------------------------------------- 1 | using Symbiote.Core; 2 | 3 | namespace Rabbit.Tests 4 | { 5 | public class ActorKeyAccessor : IKeyAccessor 6 | { 7 | public string GetId( Actor actor ) 8 | { 9 | return actor.Id; 10 | } 11 | 12 | public void SetId( Actor actor, TKey key ) 13 | { 14 | actor.Id = key.ToString(); 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /tests/Rabbit.Tests/Message.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Runtime.Serialization; 3 | 4 | namespace Rabbit.Tests 5 | { 6 | [Serializable] 7 | [DataContract] 8 | public class Message 9 | { 10 | [DataMember(Order = 1)] 11 | public int Id { get;set; } 12 | [DataMember(Order = 2)] 13 | public string CorrelationId { get; set; } 14 | } 15 | } -------------------------------------------------------------------------------- /tests/Rabbit.Tests/MessageHandler.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using Symbiote.Messaging; 3 | 4 | namespace Rabbit.Tests 5 | { 6 | public class MessageHandler 7 | : IHandle 8 | { 9 | public Action Handle(Actor actor, Message message) 10 | { 11 | actor.Received(message.Id); 12 | //envelope.Acknowledge(); 13 | //if (Actor.MessageIds.Count % 100 == 0) 14 | //{ 15 | // envelope.AcknowledgeAll(); 16 | //} 17 | return x => x.Acknowledge(); 18 | } 19 | } 20 | } -------------------------------------------------------------------------------- /tests/Rabbit.Tests/Rabbit.Tests.pidb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/tests/Rabbit.Tests/Rabbit.Tests.pidb -------------------------------------------------------------------------------- /tests/Rabbit.Tests/with_assimilation.cs: -------------------------------------------------------------------------------- 1 | using Machine.Specifications; 2 | using Symbiote.Core; 3 | using Symbiote.Messaging; 4 | using Symbiote.StructureMapAdapter; 5 | 6 | namespace Rabbit.Tests 7 | { 8 | public class with_assimilation 9 | { 10 | private Establish context = () => 11 | { 12 | Assimilate 13 | .Initialize() 14 | .UseTestLogAdapter(); 15 | }; 16 | } 17 | } -------------------------------------------------------------------------------- /tests/Riak.Tests/Riak.Tests.pidb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/tests/Riak.Tests/Riak.Tests.pidb -------------------------------------------------------------------------------- /tests/Wcf.Tests/ITestService.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Runtime.Serialization; 3 | using System.ServiceModel; 4 | 5 | namespace Wcf.Tests 6 | { 7 | [ServiceContract] 8 | public interface ITestService 9 | { 10 | [OperationContract] 11 | Return TwoArgCall(DateTime date, Guid id); 12 | } 13 | 14 | [DataContract] 15 | public class Return 16 | { 17 | [DataMember] 18 | public DateTime datetime { get; set; } 19 | } 20 | } -------------------------------------------------------------------------------- /tests/Wcf.Tests/TestService.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Reflection; 5 | using System.Text; 6 | 7 | namespace Wcf.Tests 8 | { 9 | public class TestService : ITestService 10 | { 11 | public Return TwoArgCall(DateTime date, Guid id) 12 | { 13 | return new Return() { datetime = date}; 14 | } 15 | 16 | public TestService() 17 | { 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /tests/Wcf.Tests/Wcf.Tests.pidb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/tests/Wcf.Tests/Wcf.Tests.pidb -------------------------------------------------------------------------------- /tools/ILMerge/ILMerge.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/tools/ILMerge/ILMerge.doc -------------------------------------------------------------------------------- /tools/ILMerge/ILMerge.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/tools/ILMerge/ILMerge.exe -------------------------------------------------------------------------------- /tools/ILMerge/ILMerge.exe.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /tools/MSBuildCommunityTasks/ICSharpCode.SharpZipLib.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/tools/MSBuildCommunityTasks/ICSharpCode.SharpZipLib.dll -------------------------------------------------------------------------------- /tools/MSBuildCommunityTasks/MSBuild.Community.Tasks.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/tools/MSBuildCommunityTasks/MSBuild.Community.Tasks.dll -------------------------------------------------------------------------------- /tools/MSBuildCommunityTasks/MSBuild.Community.Tasks.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/tools/MSBuildCommunityTasks/MSBuild.Community.Tasks.pdb -------------------------------------------------------------------------------- /tools/NuGet/NuGet.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-attic/Symbiote/48daa32518e453e6e87b2bcf4cfcc33a0081c50e/tools/NuGet/NuGet.exe --------------------------------------------------------------------------------