C# Класс 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/
Наследование: Microsoft.AspNetCore.Mvc.ActionResult
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

ExecuteResult() публичный Метод

public ExecuteResult ( Microsoft.AspNetCore.Mvc.ActionContext context ) : void
context Microsoft.AspNetCore.Mvc.ActionContext
Результат void

ExecuteResultAsync() публичный Метод

public ExecuteResultAsync ( Microsoft.AspNetCore.Mvc.ActionContext context ) : System.Threading.Tasks.Task
context Microsoft.AspNetCore.Mvc.ActionContext
Результат System.Threading.Tasks.Task

XmlResult() публичный Метод

public XmlResult ( System.Xml.Linq.XDocument xml ) : Microsoft.AspNetCore.Mvc
xml System.Xml.Linq.XDocument
Результат Microsoft.AspNetCore.Mvc