Summary

In this last chapter, I showed you some undocumented techniques to move constraints away from the implementation up to the metadata level. When using this approach together with reflection on the types of your class library, you will be able to automatically generate documentation that includes all those metadatalevel checks. You learned about using different contexts in your local application and how to use IContextProperty and IContributeObjectSink to intercept calls to your objects by using IMessageSink objects.

I just want to remind you that context sinks are a great technology, but unfortunately not yet officially supported or documented by Microsoft. If you use them, it will be at your own risk! If any problems occur when doing so, you will be on your own. But isn't that the fate of anyone who's going to enter uncharted territory?




Advanced  .NET Remoting C# Edition
Advanced .NET Remoting (C# Edition)
ISBN: 1590590252
EAN: 2147483647
Year: 2002
Pages: 91
Authors: Ingo Rammer

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net