mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-09-23 21:13:35 +08:00
First rough cut at an Orchard.Core assembly. This is intended to act as a carrier of certain built-in packages. The enlistment, activation, content files, etc. within ~/Core/X are intended to have exactly the same overall effect as if they were in a ~/Packages/X standalone project.
--HG-- extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4041143
This commit is contained in:
14
src/Orchard.Web/Core/XmlRpc/Models/XRpcMethodResponse.cs
Normal file
14
src/Orchard.Web/Core/XmlRpc/Models/XRpcMethodResponse.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Orchard.Core.XmlRpc.Models {
|
||||
public class XRpcMethodResponse {
|
||||
public XRpcMethodResponse() { Params = new List<XRpcData>(); }
|
||||
|
||||
public IList<XRpcData> Params { get; set; }
|
||||
|
||||
public XRpcMethodResponse Add<T>(T value) {
|
||||
Params.Add(XRpcData.For(value));
|
||||
return this;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user