-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathScrapedDataEventArgs.cs
More file actions
26 lines (24 loc) · 856 Bytes
/
Copy pathScrapedDataEventArgs.cs
File metadata and controls
26 lines (24 loc) · 856 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
using System;
namespace WebToolsDataMonitor
{
public class ScrapedDataEventArgs : EventArgs
{
public string ToolName { get; }
public string PageUrl { get; }
public string ScriptName { get; }
public string RawJson { get; }
public string LogMessage { get; }
public string ReturnType { get; } // 🔥 Added structural schema parameter
public DateTime Timestamp { get; }
public ScrapedDataEventArgs(string toolName, string pageUrl, string scriptName, string rawJson, string logMessage, string returnType = null)
{
ToolName = toolName;
PageUrl = pageUrl;
ScriptName = scriptName;
RawJson = rawJson;
LogMessage = logMessage;
ReturnType = returnType;
Timestamp = DateTime.Now;
}
}
}