/[RomCheater]/trunk/RomCheater.Core/IProgressMessage.cs
ViewVC logotype

Contents of /trunk/RomCheater.Core/IProgressMessage.cs

Parent Directory Parent Directory | Revision Log Revision Log


Revision 511 - (show annotations) (download)
Tue Jun 4 22:38:40 2013 UTC (7 years, 2 months ago) by william
File size: 703 byte(s)

1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Text;
5
6 namespace RomCheater.Core
7 {
8 public interface IProgressMessage
9 {
10 int Progress { get; }
11 string Message { get; }
12 }
13 public class ProgressMessage : IProgressMessage
14 {
15 public ProgressMessage() : this(0) { }
16 public ProgressMessage(int progess) : this(progess, string.Empty) { }
17 public ProgressMessage(int progess, string message) { this.Progress = progess; this.Message = message; }
18 #region IProgressMessage members
19 public int Progress { get; set; }
20 public string Message { get; set; }
21 #endregion
22 }
23 }

  ViewVC Help
Powered by ViewVC 1.1.22