This result and specification is automatically generated based on the tests below. This can be read and verified by BAs or any business person.
Given
- Form Created "Some Form", "formUniqueName"
- Property Added To Form "Subject" (textbox)
| //The idea of a projection is to accumulate and maintain some persisted state | |
| //based on events | |
| public sealed class RegistrationStatusProjection | |
| { | |
| //just a writer who knows how to persist a projection | |
| //The first type parameter is a key, the second is the PVM type. | |
| //Look at IDocumentWriter interface in this gist | |
| private IDocumentWriter<Guid, RegistrationStatusView> _writer; | |
| public RegistrationStatusProjection(IDocumentStore factory) |
This result and specification is automatically generated based on the tests below. This can be read and verified by BAs or any business person.
Given
| DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
| Version 2, December 2004 | |
| Copyright (C) 2011 Jed Schmidt <http://jed.is> | |
| Everyone is permitted to copy and distribute verbatim or modified | |
| copies of this license document, and changing it is allowed as long | |
| as the name is changed. | |
| DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
| public sealed class ConventionalSubscriptionBuilder | |
| { | |
| private readonly IBus _bus; | |
| private readonly string _handlerMethodName; | |
| //by default handling method is name 'When' | |
| public ConventionalSubscriptionBuilder(IBus bus, string handlerMethodName = "When") | |
| { | |
| if (bus == null) throw new ArgumentNullException("bus"); | |
| if (String.IsNullOrWhiteSpace(handlerMethodName)) throw new ArgumentNullException("handlerMethodName"); |
| //private method to use SProc | |
| private void WithStoredProcedure(string storedProcedureName, Action<SqlCommand> commandAction) | |
| { | |
| using (var connection = OpenConnection()) | |
| using (var command = connection.Connection.CreateCommand()) | |
| { | |
| command.CommandText = storedProcedureName; | |
| command.CommandType = CommandType.StoredProcedure; | |
| commandAction(command); | |
| } |
| interface String { | |
| format(): string; | |
| } | |
| String.prototype.format = function () { return this + "-formatted"; } | |
| // Module | |
| module Test { |
| public class GetEventStoreRepository : IRepository | |
| { | |
| private const string EventClrTypeHeader = "EventClrTypeName"; | |
| private const string AggregateClrTypeHeader = "AggregateClrTypeName"; | |
| private const string CommitIdHeader = "CommitId"; | |
| private const int WritePageSize = 500; | |
| private const int ReadPageSize = 500; | |
| private readonly Func<Type, Guid, string> _aggregateIdToStreamName; |
| open canopy | |
| open canopy.runner | |
| open helpers | |
| start firefox | |
| fixture "asd" { | |
| url "http://google.com" | |
| "input[type=text]" << "Alexey Raga" | |
| "input[type=text]" == "Alexey Raga" |
| import akka.actor.Actor | |
| import akka.actor.ActorSystem | |
| import akka.agent.Agent | |
| import com.typesafe.config.ConfigFactory | |
| import akka.event.Logging | |
| import akka.actor.Props | |
| import kafka.utils.Utils | |
| import java.nio.ByteBuffer |
| package question | |
| import java.io.IOException | |
| import scala.util.Random | |
| import akka.actor.Actor | |
| import akka.actor.ActorRef | |
| import akka.actor.ActorSystem | |
| import akka.actor.OneForOneStrategy |