/// <summary> /// 克隆当前元素到新的宿主模板 /// </summary> /// <param name="ownerTemplate"></param> /// <returns></returns> internal override Element Clone(Template ownerTemplate) { ElseTag tag = new ElseTag(ownerTemplate); this.CopyTo((IfConditionTag)tag); return(tag); }
/// <summary> /// 克隆当前元素到新的宿主模板 /// </summary> /// <param name="ownerTemplate"></param> /// <returns></returns> internal override Element Clone(Template ownerTemplate) { ElseTag tag = new ElseTag(ownerTemplate); this.CopyTo((IfConditionTag)tag); return tag; }