Removing obsolete CEC options.
5 using System.Collections.Generic;
6 using System.Runtime.Serialization;
7 using System.Threading;
12 [KnownType("DerivedTypes")]
13 public abstract class Action: IComparable
15 public abstract void Execute();
18 //Get the name of this object action attribute
19 get { return Utils.Reflection.GetAttribute<AttributeAction>(GetType()).Name; }
23 public int CompareTo(object obj)
26 return Utils.Reflection.GetAttribute<AttributeAction>(GetType()).Name.CompareTo(obj.GetType());
29 private static IEnumerable<Type> DerivedTypes()
31 return SharpLib.Utils.Reflection.GetDerivedTypes<Action>();