//
//
//
//
// $Revision: 1751 $
//
using System;
namespace ICSharpCode.Core
{
///
/// Default actions, when a condition is failed.
///
public enum ConditionFailedAction {
Nothing,
Exclude,
Disable
}
///
/// Interface for single condition or complex condition.
///
public interface ICondition
{
string Name {
get;
}
///
/// Returns the action which occurs, when this condition fails.
///
ConditionFailedAction Action {
get;
set;
}
///
/// Returns true, when the condition is valid otherwise false.
///
bool IsValid(object caller);
}
}