public string GetKey(MethodInfo method, params object[] args) { var sb = new StringBuilder(); var builder = new KeyBuilder(sb); BuildKey(builder); builder.Append(method.DeclaringType.FullName); builder.Append(method.Name); foreach (var a in args) { builder.Append(a); } return(builder.ToString()); }