static internal TextSyndicationContent CloneTextContent(TextSyndicationContent content) { if (content == null) { return null; } return (TextSyndicationContent)(content.Clone()); }
internal static TextSyndicationContent CloneTextContent(TextSyndicationContent content) { if (content == null) { return(null); } return((TextSyndicationContent)(content.Clone())); }
public void Clone () { TextSyndicationContent t = new TextSyndicationContent ("test"); t = t.Clone () as TextSyndicationContent; Assert.AreEqual ("test", t.Text, "#1"); Assert.AreEqual ("text", t.Type, "#2"); t = new TextSyndicationContent ("test", TextSyndicationContentKind.Html); t = t.Clone () as TextSyndicationContent; Assert.AreEqual ("html", t.Type, "#3"); }