2011-02-21 12:03:06 -08:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using Orchard.Environment.Extensions.Models;
|
2011-02-17 09:17:49 -08:00
|
|
|
|
|
2011-02-21 12:03:06 -08:00
|
|
|
|
namespace Orchard.Modules.Models {
|
2011-02-17 09:17:49 -08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Represents a module.
|
|
|
|
|
/// </summary>
|
2011-02-21 12:03:06 -08:00
|
|
|
|
public class ModuleEntry {
|
2011-02-17 09:17:49 -08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Default constructor.
|
|
|
|
|
/// </summary>
|
2011-02-21 12:03:06 -08:00
|
|
|
|
public ModuleEntry() {
|
|
|
|
|
Notifications = new List<string>();
|
2011-02-17 09:17:49 -08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The module's extension descriptor.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public ExtensionDescriptor Descriptor { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Boolean value indicating if the module needs a version update.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool NeedsVersionUpdate { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Boolean value indicating if the feature was recently installed.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool IsRecentlyInstalled { get; set; }
|
2011-02-21 12:03:06 -08:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// List of module notifications.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public List<string> Notifications { get; set; }
|
2011-02-17 09:17:49 -08:00
|
|
|
|
}
|
|
|
|
|
}
|