Error!
Success!

By tag: reflection

showing:  of
0
kicks

Invoking Overloaded Methods Using Reflection  (Unpublished)

Static and instance methods can be invoked via reflection by obtaining a MethodInfo object for the desired member and calling the Type class's Invoke method. When invoking overloaded methods, the call to obtain the method information must be modified.


Kicked By:
Drop Kicked By:
0
kicks

Advanced Programming with C#  (Unpublished)

This is the third part of a series of tutorials on C#. In this part we are going to discuss exciting features of C# like dynamic programming using the DLR or using the meta-data information known as reflection. We will also extend our knowledge on the .NET-Framework by getting to know the abstract S...


Kicked By:
Drop Kicked By:
0
kicks

Identifying the Namespaces in an Assembly  (Unpublished)

Sometimes it is necessary to find the names of all of the namespaces that are defined in a .NET assembly. Although reflection does not provide a method for this purpose, it is possible to get this information indirectly.


Kicked By:
Drop Kicked By:
0
kicks

Manipulating Properties and Methods with Reflection  (Unpublished)

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. Reflecti...


Kicked By:
Drop Kicked By:
0
kicks

Binding to Anonymous types in Silverlight  (Unpublished)

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


Kicked By:
Drop Kicked By:
0
kicks

Catastrophic failure : Reflection and Indexers  (Unpublished)

How to access arrays using default indexer trough reflection.


Kicked By:
Drop Kicked By:
0
kicks

IQueryable: Sorting, Paging, Searching and Counting  (Unpublished)

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


Kicked By:
Drop Kicked By:
0
kicks

Exploring Reflection: Using Reflection to find Markers  (Unpublished)

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.


Kicked By:
Drop Kicked By:
0
kicks

.NET Reflection - Generic Method Type Inference of a Boxed Parameter  (Unpublished)

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


Kicked By:
Drop Kicked By:
0
kicks

Using the CodeDom to do scripting with .Net  (Unpublished)

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...


Kicked By:
Drop Kicked By:
0
kicks



Kicked By:
Drop Kicked By:
0
kicks

Cloning Object Properties via Reflection « {Programming} & Life  (Unpublished)

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


Kicked By:
Drop Kicked By:
0
kicks

Using Reflection to load unreferenced assemblies at runtime in C#  (Unpublished)

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 ...


Kicked By:
Drop Kicked By:
0
kicks

FromKnownColor in the Compact Framework  (Unpublished)

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


Kicked By:
Drop Kicked By:
0
kicks

Adding Save() functionality to Microsoft.Net.Mail.MailMessage  (Unpublished)

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.


Kicked By:
Drop Kicked By: