public static WebRequestAction CreateForJSONToSpecialIdentifiers(string url, Dictionary <string, string> jsonToSpecialIdentifiers) { WebRequestAction action = new WebRequestAction(url, WebRequestResponseActionTypeEnum.JSONToSpecialIdentifiers); action.JSONToSpecialIdentifiers = jsonToSpecialIdentifiers; return(action); }
public static WebRequestAction CreateForSpecialIdentifier(string url, string specialIdentifierName) { WebRequestAction action = new WebRequestAction(url, WebRequestResponseActionTypeEnum.SpecialIdentifier); action.SpecialIdentifierName = specialIdentifierName; return(action); }
public static WebRequestAction CreateForChat(string url, string chatText) { WebRequestAction action = new WebRequestAction(url, WebRequestResponseActionTypeEnum.Chat); action.ResponseChatText = chatText; return(action); }
public static WebRequestAction CreateForCommand(string url, CommandBase command, string arguments) { WebRequestAction action = new WebRequestAction(url, WebRequestResponseActionTypeEnum.Command); action.ResponseCommandID = command.ID; action.ResponseCommandArgumentsText = arguments; return(action); }