Upgraded solution to Visual Studio 2010 (still targeting .NET 3.5).

This commit is contained in:
Dario Solera 2010-12-26 10:58:31 +00:00
parent 71943e1e23
commit 94d378f865
39 changed files with 816 additions and 74 deletions

View file

@ -205,7 +205,7 @@ namespace ScrewTurn.Wiki {
/// <param name="overwrite"><c>true</c> to overwrite an existing file.</param>
/// <returns><c>true</c> if the File is stored, <c>false</c> otherwise.</returns>
/// <remarks>If <b>overwrite</b> is <c>false</c> and File already exists, the method returns <c>false</c>.</remarks>
/// <exception cref="ArgumentNullException">If <typeparamref name="fullName"/> os <paramref name="sourceStream"/> are <c>null</c>.</exception>
/// <exception cref="ArgumentNullException">If <paramref name="fullName"/> or <paramref name="sourceStream"/> are <c>null</c>.</exception>
/// <exception cref="ArgumentException">If <paramref name="fullName"/> is empty or <paramref name="sourceStream"/> does not support reading.</exception>
public bool StoreFile(string fullName, Stream sourceStream, bool overwrite) {
if(fullName == null) throw new ArgumentNullException("fullName");
@ -251,7 +251,7 @@ namespace ScrewTurn.Wiki {
/// i.e. the method writes to the Stream the file content.</param>
/// <param name="countHit">A value indicating whether or not to count this retrieval in the statistics.</param>
/// <returns><c>true</c> if the file is retrieved, <c>false</c> otherwise.</returns>
/// <exception cref="ArgumentNullException">If <typeparamref name="fullName"/> os <paramref name="destinationStream"/> are <c>null</c>.</exception>
/// <exception cref="ArgumentNullException">If <paramref name="fullName"/> or <paramref name="destinationStream"/> are <c>null</c>.</exception>
/// <exception cref="ArgumentException">If <paramref name="fullName"/> is empty or <paramref name="destinationStream"/> does not support writing, or if <paramref name="fullName"/> does not exist.</exception>
public bool RetrieveFile(string fullName, Stream destinationStream, bool countHit) {
if(fullName == null) throw new ArgumentNullException("fullName");