mirror of
https://github.com/reactos/reactos.git
synced 2024-11-10 16:48:16 +00:00
d7b2077ed8
- made more and more easily extensible: * commands automatically loaded from plugins dlls * declarative and automatic command parameter parsing * common code moved to base classes - other fixes svn path=/trunk/; revision=33344
20 lines
428 B
C#
20 lines
428 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace TechBot.Library
|
|
{
|
|
public class CommandBuilderCollection : List<CommandBuilder>
|
|
{
|
|
public CommandBuilder Find(string name)
|
|
{
|
|
foreach (CommandBuilder command in this)
|
|
{
|
|
if (command.Name == name)
|
|
return command;
|
|
}
|
|
|
|
return null;
|
|
}
|
|
}
|
|
}
|