public void process(IProvideDetailsToCommands request) { var ticket = ticket_factory(); var id = id_mapper(ticket); var principal = principal_factory(id); principal_switch(principal); }
public void process(IProvideDetailsToCommands request) { if (authorization("bla", "asdf")) { var ticket = ticket_behaviour_factory("blah"); authentication_completion(ticket); } }
public void process(IProvideDetailsToCommands request) { var current = HttpContext.Current; ResponseWriter.write_info("The Authentication Type is:{0}",current.User.Identity.AuthenticationType); ResponseWriter.write_info("The Authentication Class is:{0}",current.User.GetType().Name); ResponseWriter.write_info("The user is authenticated:{0}",current.User.Identity.IsAuthenticated); ResponseWriter.write_info("The user name is:{0}",current.User.Identity.Name); ResponseWriter.write_info("The user id is:{0}",current.User.cast_to<StubPrincipal>().user_id); }
public void process(IProvideDetailsToCommands request) { new ViewAReport<GetTheProductsInADepartment,IEnumerable<ProductItem>>().process(request); }
public void process(IProvideDetailsToCommands request) { logout_behavoir(); }
public void process(IProvideDetailsToCommands request) { new ViewAReport<GetTheMainDepartments,IEnumerable<DepartmentItem>>().process(request); }
public bool can_process(IProvideDetailsToCommands request) { return false; }
public void process(IProvideDetailsToCommands request) { }
public void process(IProvideDetailsToCommands request) { bus.publish(event_factory.create_event_for<IAddedItemsToTheCart>(request.map<AddItemsToTheCartMessage>())); }
public bool can_process(IProvideDetailsToCommands request) { return request_criteria(request); }
public void process(IProvideDetailsToCommands request) { application_behavior.process(request); }
public void process(IProvideDetailsToCommands request) { command_registry.get_the_command_that_can_process(request).process(request); }
public void process(IProvideDetailsToCommands new_request) { throw new System.NotImplementedException(); }
public IProcessOneRequest get_the_command_that_can_process(IProvideDetailsToCommands request) { return commands.FirstOrDefault(x => x.can_process(request)) ?? special_case; }