--- trunk/RomCheater.PluginFramework/Core/PluginBase.cs 2012/05/09 17:15:33 79 +++ trunk/RomCheater.PluginFramework/Core/PluginBase.cs 2012/05/09 19:51:42 87 @@ -2,13 +2,24 @@ using System.Collections.Generic; using System.Linq; using System.Text; +using RomCheater.PluginFramework.Interfaces; namespace RomCheater.PluginFramework.Core { /// <summary> /// The base class for all plugins /// </summary> - public abstract class PluginBase + public abstract class PluginBase : IPluginBase { + public PluginBase() { } + #region IPluginBase Members + public abstract Guid Id { get; } + public abstract string Name { get; } + public abstract string Description { get; } + #endregion + public override string ToString() + { + return string.Format("{0} [{1}]", Name, Id.ToString()); + } } } |