Revision 6bcdd8e2 trunk/Pithos.Core/IStatusNotification.cs

b/trunk/Pithos.Core/IStatusNotification.cs
71 71
        }
72 72
    }
73 73

  
74
    public class ProgressNotification:Notification
75
    {
76
        public string FileName { get; set; }
77
        public int Block { get; set; }
78
        public int TotalBlocks { get; set; }
79
        public long FileSize { get; set; }
80
        public string Action { get; set; }
81
        public ProgressNotification(string fileName, string action,int block, int totalBlocks, long fileSize)
82
        {
83
            FileName = fileName;
84
            Block = block;
85
            TotalBlocks = totalBlocks;
86
            FileSize = fileSize;
87
            Action = action;
88
        }
89
    }
90

  
74 91
    public class Notification<T>:Notification
75 92
    {
76 93
        public T Data { get; set; }

Also available in: Unified diff