public static void Emmit <T>(this ICommandProcessorContext context) where T : class, IEvent { if (context == null) { throw new ArgumentNullException("context"); } context.Emmit <T>(@event => { }); }
/// <summary> /// Constructor. /// </summary> /// <param name="description">Description of the CommandProcessor</param> /// <param name="context">Context for the CommandProcessor</param> protected CommandProcessor(string description, ICommandProcessorContext context) { Description = description; ProcessorContext = context; }
/// <summary> /// Constructor. /// </summary> /// <param name="description">Description of the CommandProcessor</param> /// <param name="context">Context for the CommandProcessor</param> protected CommandProcessor(string description, ICommandProcessorContext context) { Description = description; ProcessorContext = context; }