|
- using Shadowsocks.Interop.V2Ray.Policy;
- using System.Collections.Generic;
-
- namespace Shadowsocks.Interop.V2Ray
- {
- public class PolicyObject
- {
- public Dictionary<string, LevelPolicyObject> Levels { get; set; }
- public SystemPolicyObject System { get; set; }
-
- public PolicyObject()
- {
- Levels = new();
- System = new();
- }
-
- /// <summary>
- /// Gets the default policy object.
- /// </summary>
- public static PolicyObject Default => new()
- {
- Levels = new(),
- System = SystemPolicyObject.Default,
- };
- }
- }
|