Access views

This example shows how to access prestavleniem of data objects.

// Get statically point of view with Information. 
ICSSoft.STORMNET.View cd_e_for_cd_view = Information.GetView("CD_E", typeof(CD));

// The easiest way to get a statically scoped repose of the object. 
ICSSoft.STORMNET.View cd_e_for_cd_view1 = CD.Views.CD_E;

// Representation is valid also for descendant classes. 
ICSSoft.STORMNET.View cd_e_for_cdda_view = Information.GetView("CD_E", typeof(CDDA));
ICSSoft.STORMNET.View cd_e_for_cddd_view = Information.GetView("CD_E", typeof(CDDD));

// Get the names of static representations for various classes. 
string[] commonviewnames = Information.AllViews(new Type[] { typeof(CDDA), typeof(CDDD) });