using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;

namespace DiagramUI
{
    /// <summary>
    /// Object with alias
    /// </summary>
    public interface IAlias
    {
        /// <summary>
        /// Names of aliases
        /// </summary>
        List<string> AliasNames
        {
            get;
        }

        /// <summary>
        /// Access to alias object
        /// </summary>
        object this[string alias]
        {
            get;
            set;
        }

        /// <summary>
        /// Gets object type
        /// </summary>
        /// <param name="n">Object number</param>
        /// <returns></returns>
        object GetType(int n);

    }
}
