Owin.Response.AddToBody C# (CSharp) Метод

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

Set the body to one or many objects, adding to any other values the body may have
public AddToBody ( ) : Response
Результат Response
        public Response AddToBody(params object[] objects)
        {
            IEnumerable<object> stuffToAdd = objects;
            if (objects.Length == 1 && objects[0] is IEnumerable<object>)
                stuffToAdd = objects[0] as IEnumerable<object>;

            List<object> allObjects = new List<object>(Body);
            allObjects.AddRange(stuffToAdd);
            Body = allObjects;
            return this;
        }