17 using System.Configuration;
27 private static ConfigurationProperty _depot;
28 private static ConfigurationPropertyCollection _properties;
32 _depot =
new ConfigurationProperty(
"depot", typeof(
string),
33 null, ConfigurationPropertyOptions.IsRequired);
35 _properties =
new ConfigurationPropertyCollection();
36 _properties.Add(_depot);
42 [ConfigurationProperty(
"depot", DefaultValue =
"", IsKey =
true, IsRequired =
true)]
45 get {
return (
string)base[_depot]; }
48 protected override ConfigurationPropertyCollection Properties
50 get {
return _properties; }
An AccuRev depot from the Depots section in
.exe.config.
string Depot
The depot from the Depots section in
.exe.config.