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
Afficher le fichier Open project: joeaudette/cloudscribe.Web.Navigation

Méthodes publiques

Méthode 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 méthode

public ExecuteResult ( Microsoft.AspNetCore.Mvc.ActionContext context ) : void
context Microsoft.AspNetCore.Mvc.ActionContext
Résultat void

ExecuteResultAsync() public méthode

public ExecuteResultAsync ( Microsoft.AspNetCore.Mvc.ActionContext context ) : System.Threading.Tasks.Task
context Microsoft.AspNetCore.Mvc.ActionContext
Résultat System.Threading.Tasks.Task

XmlResult() public méthode

public XmlResult ( System.Xml.Linq.XDocument xml ) : Microsoft.AspNetCore.Mvc
xml System.Xml.Linq.XDocument
Résultat Microsoft.AspNetCore.Mvc