C# Class cloudscribe.Web.SiteMap.XmlResult

I've used this code in at least 3 projects so far which sort of makes me want to just make it its own nuget but it is so little code that seems overkill and just adding another dependency re-use and a common place to fix it if something needs changing would be ideal but less dependencies is also a good thing so I'm torn would be interested in other's opinions on this matter in the node world small packages are considered fine and good practice even if it did blow up in their face recently http://www.haneycodes.net/npm-left-pad-have-we-forgotten-how-to-program/
Inheritance: Microsoft.AspNetCore.Mvc.ActionResult
Show file Open project: joeaudette/cloudscribe.Web.Navigation

Public Methods

Method Description
ExecuteResult ( Microsoft.AspNetCore.Mvc.ActionContext context ) : void
ExecuteResultAsync ( Microsoft.AspNetCore.Mvc.ActionContext context ) : System.Threading.Tasks.Task
XmlResult ( System.Xml.Linq.XDocument xml ) : Microsoft.AspNetCore.Mvc

Method Details

ExecuteResult() public method

public ExecuteResult ( Microsoft.AspNetCore.Mvc.ActionContext context ) : void
context Microsoft.AspNetCore.Mvc.ActionContext
return void

ExecuteResultAsync() public method

public ExecuteResultAsync ( Microsoft.AspNetCore.Mvc.ActionContext context ) : System.Threading.Tasks.Task
context Microsoft.AspNetCore.Mvc.ActionContext
return System.Threading.Tasks.Task

XmlResult() public method

public XmlResult ( System.Xml.Linq.XDocument xml ) : Microsoft.AspNetCore.Mvc
xml System.Xml.Linq.XDocument
return Microsoft.AspNetCore.Mvc