Definition
Assembly: CloudNimble.DotNetDocs.Core.dll Namespace: CloudNimble.DotNetDocs.Core.Renderers Inheritance: System.ObjectSyntax
Summary
Base class for documentation renderers providing common functionality.Methods
GetNamespaceFileName
Gets a safe file name for a namespace, suitable for use in file systems.Syntax
Parameters
Name | Type | Description |
---|---|---|
ns | CloudNimble.DotNetDocs.Core.DocNamespace | The namespace to get the file name for. |
extension | string | The file extension (without the dot). |
Returns
Type:string
A safe file name for the namespace.
Remarks
This method is deprecated. Use GetNamespaceFilePath instead.GetSafeNamespaceName
Gets a safe namespace name for use in file names and display.Syntax
Parameters
Name | Type | Description |
---|---|---|
ns | CloudNimble.DotNetDocs.Core.DocNamespace | The namespace to get the name for. |
Returns
Type:string
A safe namespace name, using “global” for the global namespace.
GetTypeFileName
Gets a safe file name for a type, suitable for use in file systems.Syntax
Parameters
Name | Type | Description |
---|---|---|
type | CloudNimble.DotNetDocs.Core.DocType | The type to get the file name for. |
ns | CloudNimble.DotNetDocs.Core.DocNamespace | The namespace containing the type. |
extension | string | The file extension (without the dot). |
Returns
Type:string
A safe file name for the type.