// Copyright (c) 2007 Omer Rauchwerger (a.k.a rauchy) (omer@rauchy.net)
// All rights reserved.
//
// This file is part of Regionerate.
//
// This program is free software; you can redistribute it and/or modify it
// under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 3 of the License,
// or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
// You should have received a copy of the GNU General Public License
// along with this program. If not, see .
using System;
using System.Collections.Generic;
namespace Rauchy.Regionerate.Domain.Entities
{
public sealed class Region : StructuralCode
{
#region Data Members (5)
// Properties (5)
///
/// Gets or sets the children.
///
/// The children.
public IList Children
{
get;
set;
}
public int PadFirstChild
{
get;
set;
}
public int PadLastChild
{
get;
set;
}
///
/// Gets or sets the style.
///
/// The style.
public RegionStyle Style
{
get;
set;
}
///
/// Gets or sets the title.
///
/// The title.
public string Title
{
get;
set;
}
#endregion Data Members
#region Plumbing Code (2)
///
/// Initializes a new instance of the class.
///
public Region()
{
Children = new List();
}
[ Obsolete ]
public override string ToString()
{
throw new NotSupportedException();
}
#endregion Plumbing Code
}
}