forked from ServiceStack/ServiceStack
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathEventArgs.cs
More file actions
36 lines (28 loc) · 940 Bytes
/
EventArgs.cs
File metadata and controls
36 lines (28 loc) · 940 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
using System;
namespace ServiceStack.Razor.Compilation
{
public class GeneratorErrorEventArgs : EventArgs
{
public GeneratorErrorEventArgs(uint errorCode, string errorMessage, uint lineNumber, uint columnNumber)
{
ErorrCode = errorCode;
ErrorMessage = errorMessage;
LineNumber = lineNumber;
ColumnNumber = columnNumber;
}
public uint ErorrCode { get; private set; }
public string ErrorMessage { get; private set; }
public uint LineNumber { get; private set; }
public uint ColumnNumber { get; private set; }
}
public class ProgressEventArgs : EventArgs
{
public ProgressEventArgs(uint completed, uint total)
{
Completed = completed;
Total = total;
}
public uint Completed { get; private set; }
public uint Total { get; private set; }
}
}