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 object-oriented and functional design, 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):

Making Your C# Code More Object-Oriented

This course will help leverage your conceptual understanding to produce proper object-oriented code, where objects will completely replace procedural code for the sake of flexibility and maintainability. More...

Advanced Defensive Programming Techniques

This course will lead you step by step through the process of developing defensive design practices, which can substitute common defensive coding, for the better of software design and implementation. More...

Tactical Design Patterns in .NET: Creating Objects

This course sheds light on issues that arise when implementing creational design patterns and then provides practical solutions that will make our code easier to write and more stable when running. More...

Tactical Design Patterns in .NET: Managing Responsibilities

Applying a design pattern to a real-world problem is not as straight-forward as literature implicitly tells us. It is a more engaged process. This course gives an insight to 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...

Writing Highly Maintainable Unit Tests

This course will teach you how to develop maintainable and sustainable tests as your production code grows and develops. 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