private GetYellowPageProtocols ( ) : Newtonsoft.Json.Linq.JArray | ||
Résultat | Newtonsoft.Json.Linq.JArray |
private JArray GetYellowPageProtocols()
{
return new JArray(PeerCast.YellowPageFactories.Select(protocol => {
var res = new JObject();
res["name"] = protocol.Name;
res["protocol"] = protocol.Protocol;
return res;
}).ToArray());
}