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