PageRenderTime 4ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/BlogEngine/BlogEngine.NET/widgets/Page List/widget.ascx.cs

#
C# | 54 lines | 28 code | 8 blank | 18 comment | 0 complexity | e43168b904691be5d64d2dfed5135827 MD5 | raw file
 1// --------------------------------------------------------------------------------------------------------------------
 2// <summary>
 3//   The widget.
 4// </summary>
 5// --------------------------------------------------------------------------------------------------------------------
 6
 7namespace Widgets.PageList
 8{
 9    using App_Code.Controls;
10
11    /// <summary>
12    /// The widget.
13    /// </summary>
14    public partial class Widget : WidgetBase
15    {
16        #region Properties
17
18        /// <summary>
19        /// Gets a value indicating whether IsEditable.
20        /// </summary>
21        public override bool IsEditable
22        {
23            get
24            {
25                return true;
26            }
27        }
28
29        /// <summary>
30        /// Gets Name.
31        /// </summary>
32        public override string Name
33        {
34            get
35            {
36                return "Page List";
37            }
38        }
39
40        #endregion
41
42        #region Public Methods
43
44        /// <summary>
45        /// The load widget.
46        /// </summary>
47        public override void LoadWidget()
48        {
49            // Nothing to load
50        }
51
52        #endregion
53    }
54}