-
Notifications
You must be signed in to change notification settings - Fork 49
Expand file tree
/
Copy pathPersistenceSettings.cs
More file actions
32 lines (24 loc) · 980 Bytes
/
PersistenceSettings.cs
File metadata and controls
32 lines (24 loc) · 980 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
namespace ServiceControl.Audit.Persistence
{
using System;
using System.Collections.Generic;
public class PersistenceSettings
{
public PersistenceSettings(
TimeSpan auditRetentionPeriod,
bool enableFullTextSearchOnBodies,
int maxBodySizeToStore)
{
AuditRetentionPeriod = auditRetentionPeriod;
EnableFullTextSearchOnBodies = enableFullTextSearchOnBodies;
MaxBodySizeToStore = maxBodySizeToStore;
PersisterSpecificSettings = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
}
public bool MaintenanceMode { get; set; }
public TimeSpan AuditRetentionPeriod { get; set; }
public bool EnableFullTextSearchOnBodies { get; set; }
public int MaxBodySizeToStore { get; set; }
public IDictionary<string, string> PersisterSpecificSettings { get; }
public string Hostname { get; set; }
}
}