Skip to content

DefaultLoader.SearchForStartupAttribute get all assembly attribute instances during initialization #278

@jinek

Description

@jinek

Method DefaultLoader.SearchForStartupAttribute executes
customAttributes = referencedAssembly.GetCustomAttributes(false);
Which means instantiating of all assembly attributes (that is not necessary and can bring problems)
Can be replaced by
customAttributes = referencedAssembly.GetCustomAttributes<OwinStartupAttribute>(false);
or similar.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions