using System;
using System.Collections;
using System.Collections.Specialized;
namespace AnticipatingMinds.Genesis.CodeDOM{
/// <summary>
/// Declaration of a type field.
/// </summary>
/// <remarks>This is declaration of ECMA 334 'field-declaration' element. as defined by ECMA 334 - p. 223, line 15.</remarks>
[Serializable()]
public class CodeTypeFieldDeclaration : CodeTypeMemberDeclaration
{
/// <summary>
/// Initializes new instance CodeTypeFieldDeclaration.
/// </summary>
public CodeTypeFieldDeclaration() : base ()
{
}
/// <summary>
/// Get or sets field type.
/// </summary>
public CodeTypeReference DeclarationType
{
get
{
return fieldType;
}
set
{
fieldType = value;
}
}
/// <summary>
/// Gets collection of declared fields
/// </summary>
public CodeVariableDeclarationMemberCollection DeclaredFields
{
get
{
return declaredFields;
}
}
private CodeTypeReference fieldType;
private CodeVariableDeclarationMemberCollection declaredFields = new CodeVariableDeclarationMemberCollection();
}
}
|