Tuesday, 15 March 2011

reflection - What is a good unique identifying property of a .NET Method Info -



reflection - What is a good unique identifying property of a .NET Method Info -

when storing method info data, reflection read of set of .net assemblies, best logical key utilize method info instance, separate name methods in different types, or name methods in same type different parameters?

for example, type has assemblyqualifiedname property nicely identify similar types.

update: suggested peter ritchie, there .net reflection metadatatoken property, hoping for, however, according here, token not maintained on subsequent compiles.

the reply appears be, oded suggested, concatenated key of: "the qualified name of containing type + name , parameters"

i happy hear farther suggestions

.net reflection

No comments:

Post a Comment