aboutsummaryrefslogtreecommitdiffstats
path: root/Software/.metadata/.plugins/org.eclipse.core.resources/.history/b5/a00607ed5aa100191066f05b40c14779
stat options
Period:
Authors:

Commits per author per week (path 'Software/.metadata/.plugins/org.eclipse.core.resources/.history/b5/a00607ed5aa100191066f05b40c14779')

AuthorW26 2026W27 2026W28 2026W29 2026Total
Total00000
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Tango.CodeGeneration
{
    /// <summary>
    /// Represents a namespace code object.
    /// </summary>
    /// <seealso cref="Tango.CodeGeneration.CodeObject" />
    public class Namespace : CodeObject
    {
        /// <summary>
        /// Gets or sets the namespace name.
        /// </summary>
        public String Name { get; set; }

        /// <summary>
        /// Gets or sets the classes section.
        /// </summary>
        public List<Class> Classes { get; set; }

        /// <summary>
        /// Initializes a new instance of the <see cref="Namespace"/> class.
        /// </summary>
        public Namespace()
            : base()
        {
            Classes = new List<Class>();
            Modifier = CodeObjectModifier.None;
        }

        /// <summary>
        /// Initializes a new instance of the <see cref="Namespace"/> class.
        /// </summary>
        /// <param name="name">The name.</param>
        public Namespace(String name) : this()
        {
            Name = name;
        }
    }
}