Stories recently tagged with 'Reflection'

Manipulating Properties and Methods with Reflection(www.leniel.net)

submitted by lenielleniel(489) 1 year, 8 months ago

Today I’m going to write about a simple yet powerful way to manipulate properties and methods of a given type. We’ll set values to properties and invoke methods through the use of reflection. Maybe you haven’t had the chance to use reflection or maybe you even don’t know what is reflection. Reflection is one of the most powerful features a programming language has as is the case of C# programming language that I’ll be using in this post. Read on... read more...

add a comment |category: |Views: 11

tags: another

Binding to Anonymous types in Silverlight(grahammurray.wordpress.com)

submitted by gmurraygmurray(20) 1 year, 8 months ago

Talks about the problems with binding against anonymous types in Silverlight, and offers some possible solutions to the issues. read more...

add a comment |category: |Views: 15

tags: another

Catastrophic failure : Reflection and Indexers(backintothelab.blogspot.com)

submitted by jonnyviciousjonnyvicious(20) 1 year, 10 months ago

How to access arrays using default indexer trough reflection. read more...

add a comment |category: |Views: 6

tags: another

IQueryable: Sorting, Paging, Searching and Counting(inflecto.co.uk)

submitted by rmmasonrmmason(25) 2 years, 2 months ago

A good post that contains extension methods that add sorting, paging, seacrching and countain functionality to IQueryable objects. read more...

add a comment |category: |Views: 103

tags: another

Exploring Reflection: Using Reflection to find Markers(dimecasts.net)

submitted by dwhittakerdwhittaker(13.1k) 2 years, 5 months ago

Taking a look at how to find various markers (interfaces and attributes) on a class by using reflection. This technique can help you to build out dynamic loading/find type of logic in your pluggable applications. read more...

add a comment |category: |Views: 292

tags: another

.NET Reflection - Generic Method Type Inference of a Boxed Parameter(lakario.blogspot.com)

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

A look into calling a generic method with a boxed parameter and returning a strongly typed, unboxed instance of that method using System.Reflection. read more...

add a comment |category: |Views: 31

tags: another

Using the CodeDom to do scripting with .Net(msmvps.com)

submitted by JoacimJoacim(255) 2 years, 7 months ago

The company I work for, Interactive Medica, provides SaaS business solutions for the pharmaceutical industry. Many of our clients receive data from third-parties which they need us to import into our system. This is pretty straight-forward and common in many industries. The data arrives in different formats, CSV files (or other delimited text files), Access database, Excel Spreadsheets, and so on. Sometimes the files are zipped and sometimes not. Sometimes the files are uploaded to us via FTP and at other times we need to pull the data, also usually via FTP. read more...

add a comment |category: |Views: 59

tags: another

Weekly Tool Tip: Introducing .NET Reflector(myviewstate.net)

submitted by kevinbabcockkevinbabcock(345) 2 years, 8 months ago

An introductory look at .NET Reflector read more...

1 comment |category: |Views: 13

tags: another

Cloning Object Properties via Reflection « {Programming} & Life(goneale.wordpress.com)

submitted by gonealegoneale(1055) 2 years, 11 months ago

I had a case today where I needed to clone all properties of an object from one class to another of different types. read more...

add a comment |category: |Views: 22

tags: another

Using Reflection to load unreferenced assemblies at runtime in C#(codeproject.com)

submitted by crpietschmanncrpietschmann(11.3k) 3 years ago

Sure, we can define our application's referenced assemblies easily, but how would we interact with types in assemblies at runtime that we don't directly reference? This can be quite a problem for someone who is creating plug-in or add-on support for their application, where the assemblies they must reference will be added post-build. One of the functions of the System.Reflection namespace is loading assemblies and accessing their contained types. read more...

add a comment |category: |Views: 34

tags: another

FromKnownColor in the Compact Framework(blog.dotnettech.net)

submitted by StrangeJaxStrangeJax(15) 3 years ago

This blog post cleverly uses LINQ and Reflection to implement the missing method FromKnownColor in the Compact Framework read more...

add a comment |category: |Views: 25

tags: another

Adding Save() functionality to Microsoft.Net.Mail.MailMessage(codeproject.com)

submitted by jamesewelchjamesewelch(2275) 3 years ago

The MailMessage class provides functionality using the SmtpDeliveryMethod.SpecifiedPickupDirectory of SmtpClient to generate the emails to a file folder. However, I needed to control the filename used to output the email instead of using the SmtpClient's random Guid() approach. read more...

add a comment |category: |Views: 127

tags: another

C# Reflection : Fast Object Creation(blogs.msdn.com)

submitted by ziadelmalkiziadelmalki(130) 3 years, 1 month ago

Fastest way to create a late latebound object in C# read more...

add a comment |category: |Views: 299

tags: another

Howto make unique Repository for all LinqToSql entities (GetById part)(blog.dynback.com)

submitted by StackOverflowStackOverflow(200) 3 years, 2 months ago

Tutorial about howto make Rep<Person>.GetById(personId)! read more...

add a comment |category: |Views: 39

tags: another

Creating instance of object dynamically in C#(neutrongenious.spaces.live.com)

submitted by secretssecrets(95) 3 years, 3 months ago

The article will help you to create any instance of a any object dynamically using Reflection and generics. You will learn how to apply constraints in generics. read more...

add a comment |category: |Views: 495

tags: another

Using Generics to Copy Data Between Classes of Different Types(alteridem.net)

submitted by rprouserprouse(1175) 3 years, 6 months ago

The latest in a series of posts exploring how we can reduce the grunt work in copying data between the data layer classes and the user interface classes. This uses a fluent interface to copy all of the data in one line of code rather than property by property. read more...

add a comment |category: |Views: 22

tags: another