internal static IOpmlBody ConvertToIOpmlBody(XmlReader input) { OpmlBody body = new OpmlBody(); input.ReadToDescendant("body"); ReadOutlines(input, body); input.Close(); return(body); }
/// <summary> /// Gets the body. /// </summary> /// <param name="root">The root.</param> /// <param name="ns">The namespace.</param> public static OpmlBody GetBody(XContainer root, XNamespace ns) { if (root == null) { return(null); } var data = new OpmlBody { Outlines = GetOutlines(root, ns) }; return(data); }
static OpmlBody GetBody(XContainer root) { if (root == null) { return(null); } var data = new OpmlBody { Outlines = GetOutlines(root) }; return(data); }
/// <summary> /// Initializes a new instance of the <see cref="OpmlFeed"/> class. /// </summary> public OpmlFeed() { Head = new OpmlHead(); Body = new OpmlBody(); }