/// <summary> /// Creates a new instance of this class. /// </summary> /// <param name="allowMoreWork">A bool indicating if more work is allowed</param> /// <param name="diskUsage">The disk usage of this project, in megabyte</param> /// <param name="suspended">A bool indicating if this project was suspended</param> /// <param name="hasEnded">A bool indicating if this project hsa ended</param> /// <param name="masterUrl">The master url of this project</param> /// <param name="projectName">The name of this project</param> /// <param name="client">The Boinc client associated with this project</param> internal Project(bool allowMoreWork, int diskUsage, bool suspended, bool hasEnded, string masterUrl, string projectName, BoincClient client) { this.HasEnded = hasEnded; this.MasterUrl = masterUrl; this.ProjectName = projectName; this.DiskUsage = diskUsage; this.suspended = suspended; this.moreWorkAllowed = allowMoreWork; this.client = client; }
/// <summary> /// Creates a new instance of this class. /// </summary> /// <param name="client">The connected client to interact with.</param> public BoincWatcher(BoincClient client) { this.client = client; }