AcUtils
A high performance abstraction layer for AccuRev
DepotsSection.cs
Go to the documentation of this file.
1 
16 using System;
17 using System.Configuration;
18 
19 namespace AcUtils
20 {
24  [Serializable]
25  public sealed class DepotsSection : ConfigurationSection
26  {
27  private static ConfigurationProperty _depots;
28  private static ConfigurationPropertyCollection _properties;
29 
30  static DepotsSection()
31  {
32  _depots = new ConfigurationProperty("depots", typeof(DepotsCollection),
33  null, ConfigurationPropertyOptions.IsRequired);
34  _properties = new ConfigurationPropertyCollection();
35  _properties.Add(_depots);
36  }
37 
41  [ConfigurationProperty("depots")]
43  {
44  get { return (DepotsCollection)base[_depots]; }
45  }
46 
47  protected override ConfigurationPropertyCollection Properties
48  {
49  get { return _properties; }
50  }
51  }
52 }
DepotsCollection Depots
The list of depots from .exe.config.
The list of AccuRev depots from .exe.config.
The Depots section in .exe.config.