C# 클래스 Docu.Output.Rendering.SparkTemplateBase

All public or protected methods and properties on this class are available within documentation templates
상속: Spark.AbstractSparkView, IDocuTemplate
파일 보기 프로젝트 열기: cdrnet/docu

보호된 프로퍼티들

프로퍼티 타입 설명
Formatter HtmlOutputFormatter

공개 메소드들

메소드 설명
Format ( Comment comment ) : string

Returns the comments in a format suitable for display

Format ( IReferencable referencable ) : string

Returns a hyperlink to another symbol

The format of the URL in the returned hyperlink can be controlled by the methods SetNamespaceUrlFormat, SetTypeUrlFormat, SetPropertyUrlFormat, SetMethodUrlFormat, SetFieldUrlFormat and SetEventUrlFormat

OutputMethodParams ( Method method ) : string

Returns a comma-delimited list of the parameters of a given method

SetEventUrlFormat ( string format ) : void

Configures the pattern that will be used to construct links to events referenced in the documentation of other symbols

The pattern can be constructed using the following placeholders: {type.namespace}The namespace of the type that contains the event {type}The short name of the type that contains the event {event}The name of the event

The default is {type.namespace}/{type}.htm#{event}

SetFieldUrlFormat ( string format ) : void

Configures the pattern that will be used to construct links to fields referenced in the documentation of other symbols

The pattern can be constructed using the following placeholders: {type.namespace}The namespace of the type that contains the field {type}The short name of the type that contains the field {field}The name of the field

The default is {type.namespace}/{type}.htm#{field}

SetMethodUrlFormat ( string format ) : void

Configures the pattern that will be used to construct links to methods referenced in the documentation of other symbols

The pattern can be constructed using the following placeholders: {type.namespace}The namespace of the type that contains the method {type}The short name of the type that contains the method {method}The name of method

The default is {type.namespace}/{type}.htm#{method}

SetNamespaceUrlFormat ( string format ) : void

Configures the pattern that will be used to construct links to namespaces referenced in the documentation of other symbols

The pattern can be constructed using the following placeholders: {type.namespace}The name of the namespace

The default is {namespace}.htm

SetPropertyUrlFormat ( string format ) : void

Configures the pattern that will be used to construct links to properties referenced in the documentation of other symbols

The pattern can be constructed using the following placeholders: {type.namespace}The namespace of the type that contains the property {type}The short name of the type that contains the property {property}The name of the property

The default is {type.namespace}/{type}.htm#{property}

SetTypeUrlFormat ( string format ) : void

Configures the pattern that will be used to construct links to types referenced in the documentation of other symbols

The pattern can be constructed using the following placeholders: {type.namespace}The namespace of the type {type}The short name of the type

The default is {type.namespace}/{type}.htm

SiteResource ( string path ) : string
WriteAssemblyTitle ( Assembly assembly ) : string

Returns the title of an assembly

WriteFileDescription ( Assembly assembly ) : string

Returns the description of an assembly

WriteInterfaces ( IList interfaces ) : string

Returns a comma-delimited list of the interfaces impleted by a given type

WriteProductName ( Assembly assembly ) : string

Returns the product name of an assembly

WriteVersion ( Assembly assembly ) : string

Returns the version number of an assembly

h ( string content ) : string

HTML encodes the content

보호된 메소드들

메소드 설명
SparkTemplateBase ( ) : System

메소드 상세

Format() 공개 메소드

Returns the comments in a format suitable for display
public Format ( Comment comment ) : string
comment Docu.Documentation.Comments.Comment
리턴 string

Format() 공개 메소드

Returns a hyperlink to another symbol
The format of the URL in the returned hyperlink can be controlled by the methods SetNamespaceUrlFormat, SetTypeUrlFormat, SetPropertyUrlFormat, SetMethodUrlFormat, SetFieldUrlFormat and SetEventUrlFormat
public Format ( IReferencable referencable ) : string
referencable IReferencable
리턴 string

OutputMethodParams() 공개 메소드

Returns a comma-delimited list of the parameters of a given method
public OutputMethodParams ( Method method ) : string
method Docu.Documentation.Method
리턴 string

SetEventUrlFormat() 공개 메소드

Configures the pattern that will be used to construct links to events referenced in the documentation of other symbols
The pattern can be constructed using the following placeholders: {type.namespace}The namespace of the type that contains the event {type}The short name of the type that contains the event {event}The name of the event

The default is {type.namespace}/{type}.htm#{event}

public SetEventUrlFormat ( string format ) : void
format string The pattern used to construct the link
리턴 void

SetFieldUrlFormat() 공개 메소드

Configures the pattern that will be used to construct links to fields referenced in the documentation of other symbols
The pattern can be constructed using the following placeholders: {type.namespace}The namespace of the type that contains the field {type}The short name of the type that contains the field {field}The name of the field

The default is {type.namespace}/{type}.htm#{field}

public SetFieldUrlFormat ( string format ) : void
format string The pattern used to construct the link
리턴 void

SetMethodUrlFormat() 공개 메소드

Configures the pattern that will be used to construct links to methods referenced in the documentation of other symbols
The pattern can be constructed using the following placeholders: {type.namespace}The namespace of the type that contains the method {type}The short name of the type that contains the method {method}The name of method

The default is {type.namespace}/{type}.htm#{method}

public SetMethodUrlFormat ( string format ) : void
format string The pattern used to construct the link
리턴 void

SetNamespaceUrlFormat() 공개 메소드

Configures the pattern that will be used to construct links to namespaces referenced in the documentation of other symbols
The pattern can be constructed using the following placeholders: {type.namespace}The name of the namespace

The default is {namespace}.htm

public SetNamespaceUrlFormat ( string format ) : void
format string The pattern used to construct the link
리턴 void

SetPropertyUrlFormat() 공개 메소드

Configures the pattern that will be used to construct links to properties referenced in the documentation of other symbols
The pattern can be constructed using the following placeholders: {type.namespace}The namespace of the type that contains the property {type}The short name of the type that contains the property {property}The name of the property

The default is {type.namespace}/{type}.htm#{property}

public SetPropertyUrlFormat ( string format ) : void
format string The pattern used to construct the link
리턴 void

SetTypeUrlFormat() 공개 메소드

Configures the pattern that will be used to construct links to types referenced in the documentation of other symbols
The pattern can be constructed using the following placeholders: {type.namespace}The namespace of the type {type}The short name of the type

The default is {type.namespace}/{type}.htm

public SetTypeUrlFormat ( string format ) : void
format string The pattern used to construct the link
리턴 void

SiteResource() 공개 메소드

public SiteResource ( string path ) : string
path string
리턴 string

SparkTemplateBase() 보호된 메소드

protected SparkTemplateBase ( ) : System
리턴 System

WriteAssemblyTitle() 공개 메소드

Returns the title of an assembly
public WriteAssemblyTitle ( Assembly assembly ) : string
assembly System.Reflection.Assembly
리턴 string

WriteFileDescription() 공개 메소드

Returns the description of an assembly
public WriteFileDescription ( Assembly assembly ) : string
assembly System.Reflection.Assembly
리턴 string

WriteInterfaces() 공개 메소드

Returns a comma-delimited list of the interfaces impleted by a given type
public WriteInterfaces ( IList interfaces ) : string
interfaces IList
리턴 string

WriteProductName() 공개 메소드

Returns the product name of an assembly
public WriteProductName ( Assembly assembly ) : string
assembly System.Reflection.Assembly
리턴 string

WriteVersion() 공개 메소드

Returns the version number of an assembly
public WriteVersion ( Assembly assembly ) : string
assembly System.Reflection.Assembly
리턴 string

h() 공개 메소드

HTML encodes the content
public h ( string content ) : string
content string
리턴 string

프로퍼티 상세

Formatter 보호되어 있는 프로퍼티

protected HtmlOutputFormatter,Docu.Output.Rendering Formatter
리턴 HtmlOutputFormatter