Go to the documentation of this file.00001 using System;
00002 using System.Collections.Generic;
00003 using System.Text;
00004 using System.Configuration;
00005
00006 namespace N2.Configuration
00007 {
00008 public class SchedulerElement : ConfigurationElement
00009 {
00010 [ConfigurationProperty("enabled", DefaultValue = true)]
00011 public bool Enabled
00012 {
00013 get { return (bool)base["enabled"]; }
00014 set { base["enabled"] = value; }
00015 }
00016
00017 [ConfigurationProperty("interval", DefaultValue = 60)]
00018 public int Interval
00019 {
00020 get { return (int)base["interval"]; }
00021 set { base["interval"] = value; }
00022 }
00023
00024 [ConfigurationProperty("keepAlive", DefaultValue = false)]
00025 public bool KeepAlive
00026 {
00027 get { return (bool)base["keepAlive"]; }
00028 set { base["keepAlive"] = value; }
00029 }
00030
00031 [ConfigurationProperty("keepAlivePath", DefaultValue = "{ManagementUrl}/Resources/keepalive/ping.ashx")]
00032 public string KeepAlivePath
00033 {
00034 get { return (string)base["keepAlivePath"]; }
00035 set { base["keepAlivePath"] = value; }
00036 }
00037 }
00038 }