Exemplo n.º 1
0
            public override bool Equals(object obj)
            {
                CGIObject co = (CGIObject)obj;

                if (this.CGIName.Equals(co.CGIName))
                {
                    return(false);
                }
                if (this.CGIPath.Equals(co.CGIPath))
                {
                    return(false);
                }
                if (this.ParameArr.Equals(co.ParameArr))
                {
                    return(false);
                }
                return(true);
            }
Exemplo n.º 2
0
 /// <summary>
 /// 创建内部类ShtmlInclude(带参数,一般是指包含一个模板的PHP页面):它是一个Comment节点,具体是Shtml的包含语句。
 /// 类似[!--#include virtual="/templates/073df79febbe4f6aa0087f4574289a5c.shtml"--]语句
 /// </summary>
 /// <param name="path">路径,前后都应有"/"符号</param>
 /// <param name="file">文件</param>
 public XhtmlComment.ShtmlInclude CreateXhtmlCommentShtml(CGIObject cgi)
 {
     XhtmlComment.ShtmlInclude shtmlInclude = new XhtmlComment.ShtmlInclude(this, cgi.ToString());
     return(shtmlInclude);
 }