コード例 #1
0
 public void BeforeEachTest()
 {
     _subject = new PluginResourceScheduleState(new PluginResourceSchedule(1, "test.plugin_resource")
     {
         AlertOperator = "gt",
         AlertValue = 1,
         AlertDuration = 60
     });
 }
コード例 #2
0
 public PluginResourceSchedule(int id, string pluginResourceTextKey)
 {
     Id = id;
     PluginResourceTextKey = pluginResourceTextKey;
     State = new PluginResourceScheduleState(this);
 }