Skip to content

ByteartRetail.Infrastructure.InterceptionBehaviors.CachingBehavior可能有一个Bug #2

Description

@fxwdl

在69行:

var key = method.Name;
方法名作为Key,那如果两个类的方法名相同,则存在错误的取出缓存的情况。

我感觉应该改成这样:
var key = method.ReflectedType.FullName + "." + method.Name;

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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