Skip to content

[FEATURE] 📢 Expose the current backplane, if any #445

@jodydonetti

Description

@jodydonetti

Problem

Currently, given a FusionCache instance, it's only possible to know if there is a backplane via the bool HasBackplane { get; } property, not which one it is.

Recently community user @angularsen asked to expose it in #443 .

Historically I've been hesitant to expose internals, but at this point I think I can let this one go.

Solution

Add a new IFusionCacheBackplane? Backplane { get; } property that expose the IFusionCacheBackplane instance being used, if any.

Alternatives

Some fragile reflection magic stuff, so, yeah.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions