示例#1
0
 internal DrillHtmlRule Clone()
 {
     DrillHtmlRule sDrillRule = new DrillHtmlRule();
     sDrillRule.Classify = Classify;
     sDrillRule.DbID = DbID;
     sDrillRule.DbName = DbName;
     sDrillRule.DrillType = DrillType;
     sDrillRule.EndTag = EndTag;
     sDrillRule.Feilds = Feilds.Clone();
     sDrillRule.MetaModalID = MetaModalID;
     sDrillRule.Name = Name;
     sDrillRule.RegionPath = RegionPath;
     sDrillRule.Splitter = Splitter;
     sDrillRule.StartTag = StartTag;
     sDrillRule.TitleMinLen = TitleMinLen;
     sDrillRule.Feature = Feature;
     for (int i = 0; i < TezhenRules.Count; i++)
     {
         sDrillRule.TezhenRules.Add(TezhenRules[i].Clone());
     }
     return sDrillRule;
 }
示例#2
0
        internal DrillHtmlRule Clone()
        {
            DrillHtmlRule sDrillRule = new DrillHtmlRule();

            sDrillRule.Classify    = Classify;
            sDrillRule.DbID        = DbID;
            sDrillRule.DbName      = DbName;
            sDrillRule.DrillType   = DrillType;
            sDrillRule.EndTag      = EndTag;
            sDrillRule.Feilds      = Feilds.Clone();
            sDrillRule.MetaModalID = MetaModalID;
            sDrillRule.Name        = Name;
            sDrillRule.RegionPath  = RegionPath;
            sDrillRule.Splitter    = Splitter;
            sDrillRule.StartTag    = StartTag;
            sDrillRule.TitleMinLen = TitleMinLen;
            sDrillRule.Feature     = Feature;
            for (int i = 0; i < TezhenRules.Count; i++)
            {
                sDrillRule.TezhenRules.Add(TezhenRules[i].Clone());
            }
            return(sDrillRule);
        }