// ****************************************************************
// Copyright 2007, Charlie Poole
// This is free software licensed under the NUnit license. You may
// obtain a copy of the license at http://nunit.org/?p=license&r=2.4
// ****************************************************************
using System;
namespace NUnit.Core.Extensibility
{
///
/// The IAddinRegistry interface allows registering addins
/// and retrieving information about them. It is also used
/// to record the load status of an addin.
///
public interface IAddinRegistry
{
///
/// Gets a list of all addins as Addin objects
///
System.Collections.IList Addins { get; }
///
/// Registers an addin
///
/// The addin to be registered
void Register( Addin addin );
///
/// Sets the load status of an addin
///
/// The name of the addin
/// The status to be set
/// An optional message explaining the status
void SetStatus( string name, AddinStatus status, string message );
}
}