mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-09-23 04:43:35 +08:00
15 lines
435 B
C#
15 lines
435 B
C#
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 XRpcFault Fault { get; set; }
|
|
|
|
public XRpcMethodResponse Add<T>(T value) {
|
|
Params.Add(XRpcData.For(value));
|
|
return this;
|
|
}
|
|
}
|
|
} |