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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 887 - (show annotations) (download)
Wed Sep 17 04:17:44 2014 UTC (6 years, 5 months ago) by william
File size: 709 byte(s)


1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Text;
5
6 namespace RomCheater.Interfaces
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