Monthly Archives: April 2009

Represent an enumeration as a sequence

There is a nice way to represent an arbitrary enumeration as a sequence of its names, values or name/value pairs. To do this we have to use extension methods: using System; using System.Linq; using System.Collections.Generic; /// <summary> /// Contains extension … Continue reading

Posted in Uncategorized | Leave a comment

Generic Data Points Series XML format, Version 2

New version of this service is published yesterday at the CodeProject article. It contains the following additions: Added support for on-the-fly XML schema generation. The Loader class interface modified to load Data Points Series XML data with either the default … Continue reading

Posted in Uncategorized | Leave a comment

How to express series of generic data points in XML and read them without a pain

Foreword It’s often desirable to provide generic data point series data in some XML format. XML gives the ability to decorate the series with attributes, nest them in complex data objects, mix different data series/data objects in one data file … Continue reading

Posted in Uncategorized | Leave a comment