C# 클래스 SDKDocGenerator.GenerationManifest

Wraps the generation information required to emit documentation for a service, which may have assemblies in all or some of the platforms subfolders.
파일 보기 프로젝트 열기: aws/aws-sdk-net 1 사용 예제들

공개 메소드들

메소드 설명
Generate ( IEnumerable ignoreNamespaces ) : void

Generates the documentation for the artifacts represented by this manifest, starting at the namespace(s) in the assembly and working down through the type hierarchy.

GenerationManifest ( string assemblyPath, string outputFolderRoot, IEnumerable allPlatforms, SDKDocGenerator.GeneratorOptions options, bool useAppDomain ) : System

Represents a single service, supported on one or more platforms, that we will be generating documentation for.

NDocForPlatform ( string platform = null ) : XElement>.IDictionary

Returns the discovered NDoc table for a given platform, if it existed. If platform is not specified, we attempt to return the NDoc for the primary platform specified in the generator options.

OutputSubFolderFromNamespace ( string ns ) : string

Returns the subfolder name that should be used for Amazon artifacts belonging to the specified namespace. Typically we use the service root level (the second part) in the namespace. If the namespace is not recognized as belonging to Amazon, an empty string is returned.

WriteNamespace ( SDKDocGenerator.FrameworkVersion version, string namespaceName ) : void
WriteType ( SDKDocGenerator.FrameworkVersion version, TypeWrapper type ) : void

비공개 메소드들

메소드 설명
CreateAssemblyWrapper ( string filePath, bool useAppDomain ) : AssemblyWrapper

메소드 상세

Generate() 공개 메소드

Generates the documentation for the artifacts represented by this manifest, starting at the namespace(s) in the assembly and working down through the type hierarchy.
public Generate ( IEnumerable ignoreNamespaces ) : void
ignoreNamespaces IEnumerable
리턴 void

GenerationManifest() 공개 메소드

Represents a single service, supported on one or more platforms, that we will be generating documentation for.
public GenerationManifest ( string assemblyPath, string outputFolderRoot, IEnumerable allPlatforms, SDKDocGenerator.GeneratorOptions options, bool useAppDomain ) : System
assemblyPath string /// The full path and filename of the assembly. The .Net platform for the assembly /// is assumed to be the name of the folder containing the assembly. The name of the /// service will be inferred from the name pattern of the assembly. ///
outputFolderRoot string /// The root output folder that the artifacts should be placed in. A further subfolder /// representing the service (or 'core' if the assembly is the runtime) is added. ///
allPlatforms IEnumerable The set of platform subfolders to use to discover ndoc tables
options SDKDocGenerator.GeneratorOptions The user options governing doc generation
useAppDomain bool
리턴 System

NDocForPlatform() 공개 메소드

Returns the discovered NDoc table for a given platform, if it existed. If platform is not specified, we attempt to return the NDoc for the primary platform specified in the generator options.
public NDocForPlatform ( string platform = null ) : XElement>.IDictionary
platform string
리턴 XElement>.IDictionary

OutputSubFolderFromNamespace() 공개 정적인 메소드

Returns the subfolder name that should be used for Amazon artifacts belonging to the specified namespace. Typically we use the service root level (the second part) in the namespace. If the namespace is not recognized as belonging to Amazon, an empty string is returned.
public static OutputSubFolderFromNamespace ( string ns ) : string
ns string The namespace of a discovered type (Amazon or 3rd party)
리턴 string

WriteNamespace() 공개 메소드

public WriteNamespace ( SDKDocGenerator.FrameworkVersion version, string namespaceName ) : void
version SDKDocGenerator.FrameworkVersion
namespaceName string
리턴 void

WriteType() 공개 메소드

public WriteType ( SDKDocGenerator.FrameworkVersion version, TypeWrapper type ) : void
version SDKDocGenerator.FrameworkVersion
type TypeWrapper
리턴 void