using Abp.Localization;
using Abp.UI.Inputs;
namespace Abp.Application.Features
{
///
/// Used in the method as context.
///
public interface IFeatureDefinitionContext
{
///
/// Creates a new feature.
///
/// Unique name of the feature
/// Default value
/// Display name of the feature
/// A brief description for this feature
/// Feature scope
/// Input type
Feature Create(string name, string defaultValue, ILocalizableString displayName = null, ILocalizableString description = null, FeatureScopes scope = FeatureScopes.All, IInputType inputType = null);
///
/// Gets a feature with a given name or null if it can not be found.
///
/// Unique name of the feature
/// object or null
Feature GetOrNull(string name);
///
/// Remove feature with given name
///
///
void Remove(string name);
}
}