XWiki.Model.Wiki.this C# (CSharp) Метод

this() публичный Метод

Wiki indexer. Gets the instance of the specified space in the wiki.
public this ( String spaceName ) : Space
spaceName String The name of the wiki space.
Результат Space
        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);
            }
        }