|
using System;
namespace Hyper.Web.Security
{
/// <summary>
/// The SecureWebPageDirectoryCollection class houses a collection of SecureWebPageDirectory instances.
/// </summary>
public class SecureWebPageDirectoryCollection : SecureWebPageItemCollection
{
/// <summary>
/// Initialize an instance of this collection.
/// </summary>
public SecureWebPageDirectoryCollection() : base()
{
}
/// <summary>
/// Indexer for the collection.
/// </summary>
public SecureWebPageDirectory this [int index]
{
get { return (SecureWebPageDirectory) List[index]; }
}
/// <summary>
/// Adds the item to the collection.
/// </summary>
/// <param name="item">The item to add.</param>
public int Add(SecureWebPageDirectory item)
{
return List.Add(item);
}
/// <summary>
/// Inserts an item into the collection at the specified index.
/// </summary>
/// <param name="index">The index to insert the item at.</param>
/// <param name="item">The item to insert.</param>
public void Insert(int index, SecureWebPageDirectory item)
{
List.Insert(index, item);
}
/// <summary>
/// Removes an item from the collection.
/// </summary>
/// <param name="item">The item to remove.</param>
public void Remove(SecureWebPageDirectory item)
{
List.Remove(item);
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
I began programming on my Commodore 64 at around the age of 12. After migrating to DOS and then Windows, I decided to take on the Web. Several languages and platforms later, I have settled in with .NET nicely. I am currently the owner of a software consulting company and lead application developer for a learning-based technology consultation company.
The love of a finished application is usually at war with the desire to improve it as soon as it's released (they're never really finished).