Windows Forms Markup Language (WFML) provides an extensible mechanism to add a markup model on top of an existing .NET Framework object model. WFMLs parsing rules can be summarized as “XML elements map to .NET Framework types and XML attributes map to Type properties (or events)”. This sample includes a WFML parser that dynamically generates an object instance tree from an XML file in WFML format. WFML includes declarative constructs for the following:
- XML Namespace to .NET Framework Namespace mapping
- Object Instancing
- Object Identification and References
- Property Sets
- Instance and Static method invocation
- Event Wire-Ups
- Assembly References
Note that this sample was writing against .NET Framework version 1.1 and has not been tested against other versions.
|