C# 클래스 YAMP.Help.Documentation

Represents the documention in as an object.
파일 보기 프로젝트 열기: FlorianRappl/YAMP 1 사용 예제들

공개 메소드들

메소드 설명
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