6
namespace FileContentExtension
8
public class FileContentExtensionNode: TypeExtensionNode, IWriter
11
protected string fileName;
13
[NodeAttribute (Localizable=true)]
14
protected string title;
16
public string FileName {
17
get { return fileName; }
24
public override object CreateInstance ()
29
string IWriter.Title {
30
get { return "File: " + fileName; }
33
string IWriter.Write ()
35
string s = "file:" + fileName;
36
foreach (string c in GetChildObjects ())
41
public override string ToString ()
46
public string Test (string test)
52
public class ContentExtensionNode: TypeExtensionNode
55
protected string xpath;
61
public override object CreateInstance ()