public this ( String spaceName ) : |
||
spaceName | String | The name of the wiki space. |
return |
public Space this[String spaceName]
{
get
{
foreach (Space space in spaces)
{
if (space.name == spaceName)
{
return space;
}
}
String message = "There is no space '" + spaceName + "in the wiki";
throw new Exception(message);
}
}