first commit

This commit is contained in:
2026-01-07 11:33:05 +08:00
commit fc54ffd43b
215 changed files with 31856 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
using System;
using Fiddler;
namespace EmoneyInteceptor.Fiddler.Models
{
public class FiddlerTabPage
{
/// <summary>
/// 获取 Fiddler Tab 标签页的 Title。
/// </summary>
public string TabTitle { get; }
/// <summary>
/// 获取或设置 Fiddler Tab 标签页的 Icon。
/// </summary>
public SessionIcons TabIcon { get; set; } = SessionIcons.Silverlight;
/// <summary>
/// 获取 Fiddler Tab 标签页内的 UserControl。
/// </summary>
public System.Windows.Forms.UserControl WinFormUserControl { get; }
public FiddlerTabPage(string tabTitle, System.Windows.Forms.UserControl winFormUserControl)
{
if (string.IsNullOrWhiteSpace(tabTitle))
{
throw new ArgumentNullException(nameof(tabTitle));
}
TabTitle = tabTitle;
WinFormUserControl = winFormUserControl ?? throw new ArgumentNullException(nameof(winFormUserControl));
}
}
}