using System;
using System.Collections.Generic;
using System.Text;
namespace ScrewTurn.Wiki.PluginFramework {
///
/// Contains information about a file.
///
public class FileDetails {
private long size;
private DateTime lastModified;
private int retrievalCount;
///
/// Initializes a new instance of the class.
///
/// The size of the file in bytes.
/// The modification date/time.
/// The number of times the file was retrieved.
public FileDetails(long size, DateTime lastModified, int retrievalCount) {
this.size = size;
this.lastModified = lastModified;
this.retrievalCount = retrievalCount;
}
///
/// Gets the size of the file in bytes.
///
public long Size {
get { return size; }
}
///
/// Gets the modification date/time.
///
public DateTime LastModified {
get { return lastModified; }
}
///
/// Gets the number of times the file was retrieved.
///
public int RetrievalCount {
get { return retrievalCount; }
}
}
}