using System;
using System.Collections.Generic;

namespace Inspectron.Settings
{
    public interface IDecoratable
    {
        /// <summary>
        /// Gets all decorators of the specified type</summary>
        /// <param name="type">Decorator type</param>
        /// <returns>Enumeration of non-null decorators that are of the specified type. The enumeration may be empty.</returns>
        IEnumerable<object> GetDecorators(Type type);
    }
}