Skip to content

Make IsDecorated public #241

@portyanikhin

Description

@portyanikhin

Hello!

Previously, I used v4.2.2, and my business logic partially depended on determining whether the service is decorated.
Like this:

ServiceDescriptor descriptor;
...descriptor.ServiceType is DecoratedType...

I can't migrate to v5.x right now because the DecoratedType class has been removed and I don't see a way to implement such logic.

Is it possible to make the IsDecorated extension method (see below) public? That would solve my problem.

private static bool IsDecorated(ServiceDescriptor descriptor) =>

Thanks for such a cool library!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions