public int ProcessFile(IntPtr hArcData, PK_OPERATION Operation, string destPath, string destName) { int num; try { num = this.FormatInfo.ProcessFile(hArcData, Operation, destPath, destName); } catch (Exception exception) { WcxException exception2 = new WcxException(-1, exception.Message, exception); exception2.Data.Add("Archive Format", this.FormatInfo.Name); throw exception2; } return num; }
private string Write47_PK_OPERATION(PK_OPERATION v) { switch (v) { case PK_OPERATION.PK_SKIP: return "PK_SKIP"; case PK_OPERATION.PK_TEST: return "PK_TEST"; case PK_OPERATION.PK_EXTRACT: return "PK_EXTRACT"; } long num = (long) v; throw base.CreateInvalidEnumValueException(num.ToString(CultureInfo.InvariantCulture), "Nomad.FileSystem.Archive.Wcx.PK_OPERATION"); }