示例#1
0
 public ActionOptionZip(ActionOptionZip option)
 {
     m_file = option.File;
     m_allowOverride = option.AllowOverride;
     m_fileSelected = option.FileSelected;
     InitializeOptionAttributes();
 }
示例#2
0
		public void CopyValuesFrom(ActionOptionZip rhs)
		{
			foreach (string optionName in rhs.m_optionAttributes.Keys)
			{
				if (!m_optionAttributes.ContainsKey(optionName))
					continue;
				ZipActionOptionAttribute lhsAttr = m_optionAttributes[optionName] as ZipActionOptionAttribute;
				ZipActionOptionAttribute rhsAttr = rhs.m_optionAttributes[optionName] as ZipActionOptionAttribute;
				lhsAttr.Value = rhsAttr.Value;
			}
		}