AcUtils
A high performance abstraction layer for AccuRev
GroupsSection.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 GroupsSection : ConfigurationSection
26  {
27  private static ConfigurationProperty _groups;
28  private static ConfigurationPropertyCollection _properties;
29 
30  static GroupsSection()
31  {
32  _groups = new ConfigurationProperty("groups", typeof(GroupsCollection),
33  null, ConfigurationPropertyOptions.IsRequired);
34  _properties = new ConfigurationPropertyCollection();
35  _properties.Add(_groups);
36  }
37 
41  [ConfigurationProperty("groups")]
43  {
44  get { return (GroupsCollection)base[_groups]; }
45  }
46 
47  protected override ConfigurationPropertyCollection Properties
48  {
49  get { return _properties; }
50  }
51  }
52 }
GroupsCollection Groups
The list of groups from .exe.config.
The Groups section in .exe.config.
The list of AccuRev groups from .exe.config.