Join Ted Neward for an in-depth discussion in this video Constructing objects demo, part of CLR Reflection for Developers.
- [Instructor] So from the code we've got here,…I'm actually going to clean it up a little bit…by just renaming the main method off to old main,…so that we can start with a new main method here,…and that way as we run stuff, we won't have the old output.…We've still got all of this code here…if you want to look at it and so forth,…but we're basically starting fresh…with the new main method.…Now, one of things that I would like to do,…as we've just described,…is I would like to construct a point object…without necessarily invoking the words "new point."…Reasons for this would be various,…so for example, if someone's building…a plug-in style architecture,…I may want to be able to configure via text file…where the assembly is in order to be able to load it,…and then read from the text file…which objects to construct out of that.…
Or, in some cases, you may be working…on your own sort of scripting language, or DSL,…domain specific language,…and you want to use these types,…but not necessarily build a full-blown compiler yourself.…
- 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.