C# Класс YAMP.Help.Documentation

Represents the documention in as an object.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
ClosestEntry ( String entry ) : String

Finds the closest entry to the given entry.

ContainsEntry ( String entry ) : System.Boolean

Looks if a certain entry is contained within the documention.

ContainsTopic ( String topic ) : System.Boolean

Looks if a certain topic is contained within the documention.

Create ( ParseContext context ) : Documentation

Creates a new documention instance from the given context.

Get ( String entry ) : HelpSection

Gets the HelpSection that belongs to the name of the given entry.

Overview ( ParseContext context ) : List

Gives an overview over the included functions and constants within the context.

Приватные методы

Метод Описание
AddTypeToTopics ( String name, String standardKind, Object type, List topics ) : void
Distance ( String s1, String s2, Int32 maxOffset ) : Int32
Documentation ( ParseContext _context ) : System
GetDescription ( MemberInfo element ) : String
GetExample ( ExampleAttribute attribute ) : HelpExample
GetLink ( MemberInfo element ) : String
GetLocalized ( String key ) : String
GetUsage ( String name, MethodInfo function ) : HelpFunctionUsage
ModifyValueType ( Type type ) : String

Описание методов

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

Finds the closest entry to the given entry.
public ClosestEntry ( String entry ) : String
entry String The (probably) mispelled entry's name.
Результат String

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

Looks if a certain entry is contained within the documention.
public ContainsEntry ( String entry ) : System.Boolean
entry String The entry's name to look for.
Результат System.Boolean

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

Looks if a certain topic is contained within the documention.
public ContainsTopic ( String topic ) : System.Boolean
topic String The topic to look for.
Результат System.Boolean

Create() публичный статический Метод

Creates a new documention instance from the given context.
public static Create ( ParseContext context ) : Documentation
context YAMP.ParseContext The context to use.
Результат Documentation

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

Gets the HelpSection that belongs to the name of the given entry.
public Get ( String entry ) : HelpSection
entry String The name of the entry to retrieve.
Результат HelpSection

Overview() публичный статический Метод

Gives an overview over the included functions and constants within the context.
public static Overview ( ParseContext context ) : List
context YAMP.ParseContext The context to investigate.
Результат List