Join Ted Neward for an in-depth discussion in this video Assemblies modules demo, part of CLR Reflection for Developers.
- [Instructor] Now, one of the things…we can do is we can actually look at…in addition to the type information.…The type knows a great deal about its context,…it knows particularly for example,…if it was declared inside of another type.…So if we have class, the inner class…will know about the outer class,…but more importantly in this particular case,…type knows the the assemblies…in which they are defined.…So one of the things we can do is we can always…walk up to any given type object as you can see…here from the TeleSense.…
It can tell us the assembly from which we were loaded.…This can be useful in a couple of scenarios…where for example if you are working…with a type that was loaded via a plugin mechanism,…and you want to look at the assembly…to verify that it's the right version number,…that we have the right binding,…whatever you want to call it.…The assembly knows all the types that's within it…and types always know the assembly from which…they were loaded so we can always…do something along these lines where I can…
- Working with the IL Disassembler (Ildasm)
- Namespaces and types
- Type API
- Properties API
- MethodBase and MethodInfo API
- Constructors API
- Fields API
- Constructing objects
- Accessing properties and fields
- Invoking methods
Skill Level Intermediate
Deploying .NET Applications with Octopus Deploywith Floyd Hilton1h 27m Intermediate
2. IL Disassembler (Ildasm)
3. Reflection Namespace and Types
4. Type API
5. Properties API
6. MethodBase and MethodInfo API
7. Constructors API
Constructors API demo2m 52s
8. Fields API
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.