PageRenderTime 897ms CodeModel.GetById 18ms RepoModel.GetById 5ms 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
Possible License(s): LGPL-2.1, Apache-2.0, BSD-3-Clause
  1. // --------------------------------------------------------------------------------------------------------------------
  2. // <summary>
  3. // The widget.
  4. // </summary>
  5. // --------------------------------------------------------------------------------------------------------------------
  6. namespace Widgets.PageList
  7. {
  8. using App_Code.Controls;
  9. /// <summary>
  10. /// The widget.
  11. /// </summary>
  12. public partial class Widget : WidgetBase
  13. {
  14. #region Properties
  15. /// <summary>
  16. /// Gets a value indicating whether IsEditable.
  17. /// </summary>
  18. public override bool IsEditable
  19. {
  20. get
  21. {
  22. return true;
  23. }
  24. }
  25. /// <summary>
  26. /// Gets Name.
  27. /// </summary>
  28. public override string Name
  29. {
  30. get
  31. {
  32. return "Page List";
  33. }
  34. }
  35. #endregion
  36. #region Public Methods
  37. /// <summary>
  38. /// The load widget.
  39. /// </summary>
  40. public override void LoadWidget()
  41. {
  42. // Nothing to load
  43. }
  44. #endregion
  45. }
  46. }