public static GetCommand ( string prefix ) : Command | ||
prefix | string | |
Résultat | Command |
public static Command GetCommand(string prefix)
{
lock (m_commands)
{
if (m_commands.ContainsKey(prefix))
{
return m_commands[prefix];
}
else
{
return null;
}
}
}