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.
Syntax
public AnalyzeCSharp WithDestination(Func<ISymbol, NormalizedPath> destination)
Parameters
Name |
Type |
Description |
destination |
Func<ISymbol, NormalizedPath> |
A function that takes the metadata for a given symbol and returns a NormalizedPath to use for the destination.
|
Return Value