[
  {
    "Id": "662862",
    "ThreadId": "270267",
    "Html": "\r\n<p>ok here is annother odd question.</p>\r\n<p>If I add a file&nbsp;to a ZipFile object and then I Extract() that file without first calling Save() then do I just get a copy of the original file or does it rey to compress and then extract the file?</p>\r\n<p>Jacob</p>\r\n",
    "PostedDate": "2011-08-24T12:44:25.757-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "662944",
    "ThreadId": "270267",
    "Html": "<p>I don't know what happens if you call Extract on a file that has never been saved. I don't think this is a scenario I have tested. I would like the library to throw an error in that case, something like \"Don't do this.\"&nbsp;But I'm not sure if it does.</p>\r\n<p>Why don't you try it and see?</p>",
    "PostedDate": "2011-08-24T15:05:38.82-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "663353",
    "ThreadId": "270267",
    "Html": "<p>It thew a BadStateException with the message \"You must call ZipFile.Save before calling any Extract method.\"</p>\n<p>Is there a way to check for this scenario <span style=\"text-decoration: underline;\">before</span> calling Extract()?</p>\n<p>Jacob</p>",
    "PostedDate": "2011-08-25T10:25:02.707-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "663418",
    "ThreadId": "270267",
    "Html": "<p>That sounds like a reasonable exception to me.&nbsp;</p>\r\n<p>I think maybe the best solution is for your app to track&nbsp; the state of the ZipFile instance.</p>\r\n<p>It's reasonable to ask for a publicly accessible \"state\" property on the ZipFile instance that indicates whether it has changes pending, and maybe some other stuff. I like that idea.&nbsp; I'll have to think about what it should look like.&nbsp; That won't be feasible til I&nbsp; do a significant revamp of the object model.&nbsp; I had planned that for a \"v2.0\" release of DotNetZip.&nbsp; I think it will be somewhat disruptive, which is why I have not released it. There's a backlog of features and capabilities that all depend on the revamp though.</p>\r\n<p>&nbsp;</p>",
    "PostedDate": "2011-08-25T12:16:34.6-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "663420",
    "ThreadId": "270267",
    "Html": "This discussion has been copied to a work item. Click <a href=\"http://dotnetzip.codeplex.com/workitem/14149\">here</a> to go to the work item and continue the discussion.",
    "PostedDate": "2011-08-25T12:17:30.397-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  }
]