using System;
namespace AnticipatingMinds.Genesis.CodeDOM{
/// <summary>
/// Type indexer declaration.
/// </summary>
/// <remarks>ECMA 334 - p. 254, line 18.</remarks>
[Serializable]
public class CodeTypeIndexerDeclaration : CodeTypePropertyDeclaration
{
/// <summary>
/// Initializes new instance of the <see cref="CodeTypeIndexerDeclaration"/> class.
/// </summary>
public CodeTypeIndexerDeclaration(): base ()
{
}
/// <summary>
/// Gets a collection of indexer parameters.
/// </summary>
public CodeMethodParameterCollection Parameters
{
get
{
return parameters;
}
}
/// <summary>
/// Gets an indexer property name.
/// </summary>
/// <value>This property always returns "Item"</value>
public override string Name
{
get
{
//Special name
return "Item";
}
set
{
}
}
private CodeMethodParameterCollection parameters = new CodeMethodParameterCollection();
}
}
|