Beispiel #1
0
 /// <summary>
 /// Gets the index of the specified layout.
 /// </summary>
 /// <param name="layout">The layout.</param>
 /// <returns></returns>
 public int IndexOf(SectionLayoutConfigurationElement layout)
 {
     if (layout == null)
     {
         throw new ArgumentNullException("layout");
     }
     return(BaseIndexOf(layout));
 }
Beispiel #2
0
 /// <summary>
 /// Adds the specified layout.
 /// </summary>
 /// <param name="layout">The layout.</param>
 public void Add(SectionLayoutConfigurationElement layout)
 {
     if (layout == null)
     {
         throw new ArgumentNullException("layout");
     }
     BaseAdd(layout);
 }
Beispiel #3
0
 /// <summary>
 /// Removes the specified layout.
 /// </summary>
 /// <param name="layout">The layout.</param>
 public void Remove(SectionLayoutConfigurationElement layout)
 {
     if (layout == null)
     {
         throw new ArgumentNullException("layout");
     }
     if (BaseIndexOf(layout) >= 0)
     {
         BaseRemove(layout.Name);
     }
 }