public TestRulesEngine() { Statistics = new RulesEngineStatistics("TEST", "TEST"); }
/// <summary> /// Constructor. /// </summary> /// <remarks> /// A rules engine will only load rules that apply at a specific time. The /// apply time is specified by the <paramref name="applyTime"/> parameter. /// </remarks> /// <param name="applyTime">An enumerated value as to when the rules shall apply.</param> /// <param name="serverPartitionKey">The Server Partition the rules engine applies to.</param> public ServerRulesEngine(ServerRuleApplyTimeEnum applyTime, ServerEntityKey serverPartitionKey) { _applyTime = applyTime; _serverPartitionKey = serverPartitionKey; Statistics = new RulesEngineStatistics(applyTime.Lookup, applyTime.LongDescription); }