Skip to content

[BUG] Incorrect documentation for WithDistributedCache extension method #496

@marcominerva

Description

@marcominerva

Describe the bug

The documentation for WithDistributedCache is incorrect:

/// <summary>
/// Specify a custom <see cref="IFusionCacheBackplane"/> factory to be used.
/// <br/><br/>
/// <strong>DOCS:</strong> <see href="https://github.com/ZiggyCreatures/FusionCache/blob/main/docs/DependencyInjection.md"/>
/// </summary>
/// <param name="builder">The <see cref="IFusionCacheBuilder" /> to act upon.</param>
/// <param name="factory">The factory used to create the backplane, with access to the <see cref="IServiceProvider"/>.</param>
/// <param name="serializer">The <see cref="IFusionCacheSerializer"/> instance to use, or <see langword="null"/> to keep the one specified in another call.</param>
/// <returns>The <see cref="IFusionCacheBuilder"/> so that additional calls can be chained.</returns>
public static IFusionCacheBuilder WithDistributedCache(this IFusionCacheBuilder builder, Func<IServiceProvider, IDistributedCache> factory, IFusionCacheSerializer? serializer = null)

It refers to backplane (lines 1106 and 1111).

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentation

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions