Skip to content

ImplementInterface() is not recursive #10

@DuAell

Description

@DuAell

ImplementInterface only detects types that directly implements the interface, but won't detect if interface is declared on parent type.

public interface IHandler;

public class ParentHandler : IHandler;

public class ChildHandler : ParentHandler <= Won't be detected by Types.That().ImplementInterface(typeof(IHandler))

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions