Click here to Skip to main content
15,896,201 members
Articles / Desktop Programming / Windows Forms

Microsoft patterns & practices Composite UI Application Block (CAB) based Module Composite Mapper Service: An XML Configurable Builder for Workspaces, UIElements, Commands, and Event Publications/Subscriptions

Rate me:
Please Sign up or sign in to vote.
4.51/5 (17 votes)
30 Mar 2006CPOL16 min read 115K   1.1K   101  
A Microsoft patterns & practices Composite UI Application Block (CAB) based module composite mapper service is provided including C# source code that builds Workspaces, UIElements, Commands and Event Publications/Subscriptions using an XML configuration file specified with a module.
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following 
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("XtensibleSolutions.MyClientModule")]
[assembly: AssemblyDescription("Xtensible Solutions MyClientModule")] 
[assembly: AssemblyConfiguration("")] 
[assembly: AssemblyCompany("Xtensible Solutions, Inc.")] 
[assembly: AssemblyProduct("")] // TODO update other attributes
[assembly: AssemblyCopyright("Copyright © 2005-2006 Xtensible Solutions, Inc.")] 
[assembly: AssemblyTrademark("Trademark ™ 2005-2006 Xtensible Solutions, Inc.")] 
[assembly: AssemblyCulture("")] 

// Setting ComVisible to false makes the types in this assembly not visible 
// to COM components.  If you need to access a type in this assembly from 
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
 
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("C3B34EB0-D786-40eb-B8F7-E62D1B04D799")]

// Version information for an assembly consists of the following four values:
//
//      Major Version
//      Minor Version 
//      Build Number
//      Revision
//
// You can specify all the values or you can default the Revision and Build Numbers 
// by using the '*' as shown below:
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

[assembly: Microsoft.Practices.CompositeUI.Module("XtensibleSolutions.MyClientModule")] 

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
United States United States
Tom Polanski, Senior Analyst
Homeland Security Team, Toyon Research Corporation

Toyon Research Corporation provides innovative solutions to national challenges with technical analyses, research and development.

Comments and Discussions