/// <summary> /// 实例化一个富文本对象 /// </summary> /// <param name="text">未被过滤的源文本</param> /// <param name="FilterPolicyFilePath">过滤的安全策略文件的物理路径</param> public RichText(string text, string FilterPolicyFilePath) : this(text, FilterPolicy.GetInstance(FilterPolicyFilePath)) { }
/// <summary> /// 实例化一个富文本对象 /// </summary> /// <param name="text">未被过滤的源文本</param> /// <param name="FilterPolicyFile">过滤的安全策略文件信息对象</param> public RichText(string text, FileInfo FilterPolicyFile) : this(text, FilterPolicy.GetInstance(FilterPolicyFile)) { }
public CssFilter(string FilterPolicyFilePath) : this(FilterPolicy.GetInstance(FilterPolicyFilePath)) { }
public CssFilter(FileInfo FilterPolicyFile) : this(FilterPolicy.GetInstance(FilterPolicyFile)) { }
public CssFilter() : this(FilterPolicy.GetInstance()) { }
public HtmlFilter() : this(FilterPolicy.GetInstance()) { }