http://www.codinghelmet.com/  

Wear a helmet. Even when coding.

net > sysexpand > reflection

SysExpand.Reflection Namespace
by Zoran Horvat @zoranh75

SysExpand.Reflection namespace contains classes that can be used to reflect upon other types. Current release covers topic of late binding and of handling events raised by managed types. These two sets of classes, both assembled as within the SysExpand.Reflection library, are extending the usual .NET Framework functionality.

SysExpand.Reflection namespace defines number of types that can be used to dynamically subscribe to events published by managed types even when signature (i.e. delegate type) of the event is not known in advance. This peculiar functionality is not provided by .NET Framework. SysExpand.Reflection classes are offering solution to this problem. For more details please refer to the manual.

Late binding classes are defined in the SysExpand.Reflection.LateBinding namespace. They are offering easy to use solution for late binding tasks. Caller can bind to types, instantiate them and invoke members in quite safe and simple way. Much of the effort required by .NET Framework to do the same task, mostly concerning error handling, is avoided when using SysExpand late binding library because it performs most of the work itself, leaving the caller only take care of the intended late bound calls. To read more about SysExpand late binding library, please refer to the manual.

See also:

Published: Sep 2, 2011; Modified: Feb 11, 2012

ZORAN HORVAT

Zoran is software architect dedicated to clean design and CTO in a growing software company. Since 2014 Zoran is an author at Pluralsight where he is preparing a series of courses on design patterns, writing unit and integration tests and applying methods to improve code design and long-term maintainability.

Follow him on Twitter @zoranh75 to receive updates and links to new articles.

Watch Zoran's video courses at pluralsight.com (requires registration):

Tactical Design Patterns in .NET: Managing Responsibilities

Applying a design pattern to a real-world problem is not as straightforward as literature implicitly tells us. It is a more engaged process. This course gives an insight into tactical decisions we need to make when applying design patterns that have to do with separating and implementing class responsibilities. More...

Tactical Design Patterns in .NET: Control Flow

Improve your skills in writing simpler and safer code by applying coding practices and design patterns that are affecting control flow. More...

Improving Testability Through Design

This course tackles the issues of designing a complex application so that it can be covered with high quality tests. More...

Share this article

webmasters