WithDestination(Func<ISymbol, Compilation, NormalizedPath>) Method
This changes the default behavior for the generated destination paths, which is to place files in a path with the same name as their containing namespace. Namespace documents will have the IndexFileName while other type documents will get a name equal to their SymbolId. Member documents will get the same name as their containing type plus an anchor to their SymbolId.
Namespace
Statiq.CodeAnalysis
Containing Type
AnalyzeCSharp

Syntax

public AnalyzeCSharp WithDestination(Func<ISymbol, Compilation, NormalizedPath> destination)

Parameters

Name Type Description
destination Func<ISymbol, Compilation, NormalizedPath> A function that takes the metadata for a given symbol and returns a NormalizedPath to use for the destination.

Return Value

Type Description
AnalyzeCSharp The current module instance.