Namespace: Consultingwerk.Util
Class 
SmartTypeDescriptor Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object

File:SmartTypeDescriptor
Purpose:Standard Type Descriptor implementation for the
SmartComponent Library
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Fri Feb 22 14:55:28 CET 2013
Notes:As this class is very central to the SmartComponent Library
it's located in a top level package to avoid compilation
issues



Top Method Summary
Options Name Purpose
+ System.Collections.Generic.List <System.Attribute> GetClassPropertyAttributes (Class, character) Returns the List of Attributes for a Class' Property
+ Consultingwerk.SmartComponents.TypeDescriptor.PropertyDescriptorCollection GetClassPropertyDescriptorCollection (character) Returns the PropertyDescriptorCollection for a class
+ LOGICAL HasClassDescription (character) Determines if the Class Description is available in the ISmartTypeDescriptor
+ LoadPropertiesFrom (character) Loads all PropertyDescriptorCollection classes that are references in the given xml file

Top Constructor Summary
Options Name Purpose
SmartTypeDescriptor () Static Constructor for the SmartTypeDescriptor class


Method Detail
Top

PUBLIC System.Collections.Generic.List <System.Attribute> GetClassPropertyAttributes (Class, character)

Purpose: Returns the List of Attributes for a Class' Property
Notes:

Parameters:
poClass Progress.Lang.Class
The reference to the class object
pcPropertyName CHARACTER
The name of the Property
Returns System.Collections.Generic.List <System.Attribute>
The List of Attributes for the Class' Property
Top

PUBLIC Consultingwerk.SmartComponents.TypeDescriptor.PropertyDescriptorCollection GetClassPropertyDescriptorCollection (character)

Purpose: Returns the PropertyDescriptorCollection for a class
Notes:

Parameters:
pcClassName CHARACTER
The name of the class to return the PropertyDescrioptorCollection (Charcater to simplify cross-usage between Progress.Lang.Class and System.Type)
Returns Consultingwerk.SmartComponents.TypeDescriptor.PropertyDescriptorCollection
The PropertyDescriptorCollection for the named class
Top

PUBLIC LOGICAL HasClassDescription (character)

Purpose: Determines if the Class Description is available in the ISmartTypeDescriptor
Notes:

Parameters:
pcClassName CHARACTER
The name of the class to return the PropertyDescrioptorCollection (Charcater to simplify cross-usage between Progress.Lang.Class and System.Type)
Returns LOGICAL
Logical value indicating if the description for that class is present
Top

PUBLIC LoadPropertiesFrom (character)

Purpose: Loads all PropertyDescriptorCollection classes that are references in the
given xml file
Notes:

Parameters:
pcFile CHARACTER
The name of the xml file to load the properties from


Constructor Detail
Top

STATIC SmartTypeDescriptor ()

Purpose: Static Constructor for the SmartTypeDescriptor class
Notes:



©2006-2019 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       08.08.2019 23:57:50