예제 #1
0
 protected StoreActionContainer MakeContainer(StoreActionType type, IPayload data)
 {
     return(new StoreActionContainer()
     {
         type = type, data = data
     });
 }
예제 #2
0
    private void RequireLoggedOutAction(StoreActionType action)
    {
        var containerData = new ResponseData()
        {
            message = "Error: You are already logged in. Please log out first then try again."
        };

        Dispatch(MakeContainer(action, containerData));
    }