Stories recently tagged with 'Reflection'

How To Use Reflection To Compare Two Objects(themicrobusinessexperiment.blogspot.com)

submitted by brb1977brb1977(70) 5 years, 2 months ago

A code snippet which you can use to compare two objects (of the same type) to determine if they are equal. read more...

add a comment |category: |Views: 53

tags: another

How to: Execute (another's class) private methods(ebersys.blogspot.com)

submitted by BlackTigerXBlackTigerX(460) 5 years, 7 months ago

Do you need to get access to a method that has been marked as private? here's how you can read more...

4 comments |category: |Views: 23

tags: another

The Power of "View Source"(codinghorror.com)

submitted by dalzieldalziel(6230) 5 years, 9 months ago

Jeff Atwood explains why view source has helped make Javascript so popular, and why Reflector can do the same for .NET read more...

add a comment |category: |Views: 2

tags: another

Determining which method called me...(irishdev.com)

submitted by harriyottharriyott(170) 5 years, 9 months ago

Using the stack trace to find out the caller. read more...

1 comment |category: |Views: 7

tags: another

Strongly-Typed Reflection(ayende.com)

submitted by gavinjoycegavinjoyce(25.7k) 5 years, 10 months ago

Ayende Rahien presents a solution for strongly-typed reflection. - "I refactor a lot, and I just hate it when everything compiles okay, and then things breaks on runtime. I think that static reflection will enable writing amazing code. The functionality is already built into the CLR (check the ldtoken/ldftn IL instructions and friends). It didn't make it into the 2.0 release, but I hope that it will be in the next release. In the meantime, the 2.0 Reflection has been optimized, so that is what we have for now. But it's not enough for me. ..." read more...

add a comment |category: |Views: 60

tags: another

Attributes and Reflection in C# (aspalliance.com)

submitted by dbteqdbteq(115) 6 years, 2 months ago

This article discusses attributes and reflection concepts in detail with examples wherever necessary. C# is very important language, but it also offers scope for adding declarative features to the code and their later retrieval if necessary. We can use attributes to provide both design-level and run-time information to our code. Attributes are a mechanism for adding metadata. Reflection is the process by which a program can read its own metadata. read more...

add a comment |category: |Views: 16

tags: another