-
Notifications
You must be signed in to change notification settings - Fork 0
/
HtmlPacketCompilerOptions.cs
39 lines (30 loc) · 1.14 KB
/
HtmlPacketCompilerOptions.cs
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
37
38
39
using System;
namespace YetAnotherPacketParser
{
public class HtmlPacketCompilerOptions : IPacketConverterOptions
{
public HtmlPacketCompilerOptions()
{
this.StreamName = string.Empty;
this.MaximumPackets = 1000;
this.MaximumPacketSizeInBytes = 1 * 1024 * 1024; // 1 MB
}
public string StreamName { get; set; }
public OutputFormat OutputFormat => OutputFormat.Html;
[Obsolete("No longer used")]
public int MaximumLineCountBeforeNextStage { get; set; }
public int MaximumPackets { get; set; }
public int MaximumPacketSizeInBytes { get; set; }
/// <exception cref="System.NotSupportedException"></exception>
/// <summary>
/// Not supported.
/// </summary>
public bool ModaqFormat => throw new NotSupportedException();
/// <exception cref="System.NotSupportedException"></exception>
/// <summary>
/// Not supported.
/// </summary>
public bool PrettyPrint => throw new NotSupportedException();
public Action<LogLevel, string>? Log { get; set; }
}
}