public bool AddAtFront(ITask task) { Class209 class2 = new Class209 { itask_0 = task }; if (class2.itask_0 == null) { throw new ArgumentNullException("task"); } if (this.IsFrozen) { ilog_0.ErrorFormat("[AddAtFront] This TaskManager is frozen.", Array.Empty<object>()); return false; } if (this.list_0.Any<ITask>(new Func<ITask, bool>(class2.method_0))) { ilog_0.ErrorFormat("[AddAtFront] A task with the name of {0} has already been added. This one will be skipped.", class2.itask_0.Name); return false; } ilog_0.DebugFormat("[AddAtFront] Now adding [{0}] {1}.", class2.itask_0.Name, class2.itask_0.Description); this.list_0.Insert(0, class2.itask_0); return true; }
public abstract void Visit(Class209 c);
public override void Visit(Class209 c) { }