mirror of
https://github.com/reactos/reactos.git
synced 2025-03-10 10:14:44 +00:00
21 lines
428 B
C#
21 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;
|
||
|
}
|
||
|
}
|
||
|
}
|