public static ActionResult SendHtmlFromResource(this HttpListenerResponse response, ResourceStringResponse r) { ResourceManager rm = new ResourceManager(r.ResourceType); //get string resource r.Content = rm.GetString(r.ResourceName); return response.SendHtml(r); }
public static ActionResult SendHtmlFromResource(this HttpListenerResponse response, ResourceStringResponse r) { ResourceManager rm = new ResourceManager(r.ResourceType); //get string resource r.Content = rm.GetString(r.ResourceName); return(response.SendHtml(r)); }