public BaseProjection(string action, Type type) { using (LogGroup logGroup = LogGroup.StartDebug("Constructing projection object.")) { LogWriter.Debug("Action: " + action); LogWriter.Debug("Type: " + type.Name); Command = new CommandInfo(action, type.Name); } }
public BaseProjection(string action, Type type, bool requireAuthorisation) { using (LogGroup logGroup = LogGroup.StartDebug("Constructing projection object.")) { LogWriter.Debug("Action: " + action); LogWriter.Debug("Type: " + type.Name); LogWriter.Debug("RequireAuthorisation: " + RequireAuthorisation.ToString()); Command = new CommandInfo(action, type.Name); RequireAuthorisation = requireAuthorisation; } }
public MockProjection() { Command = new CommandInfo("MockAction", "MockEntity"); }