Click or drag to resize

GroupedPropertyCollection Class

This class is the default implementation for IObjectLibrary. It can be cascaded by setting a GroupedDefaultValueSource which is used in case this instance does not contain a specified property.
Inheritance Hierarchy

Namespace:  Mastersign.Bench.PropertyCollections
Assembly:  BenchLib (in BenchLib.dll) Version: 0.22.0.0 (0.22.0.0)
Syntax
public class GroupedPropertyCollection : IObjectLibrary, 
	IGroupedPropertyCollection, IGroupedPropertySource, IGroupedPropertyTarget

The GroupedPropertyCollection type exposes the following members.

Constructors
  NameDescription
Public methodGroupedPropertyCollection
Initializes a new instance of the GroupedPropertyCollection class
Top
Properties
  NameDescription
Public propertyGroupedDefaultValueSource
The back value source for group properties.
Top
Methods
  NameDescription
Public methodCanGetGroupValue
Checks, whether this object can retrieve the value for the specified property, or not.
Public methodClear
Deletes all properties in this collection.
Public methodContainsGroup
Checks, whether this collection contains properties in the specified group.
Public methodContainsGroupValue
Checks, whether this collection contains the specified property in the specified group.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetBooleanGroupValue(String, String)
Gets the value of a group property as a boolean.
Public methodGetBooleanGroupValue(String, String, Boolean)
Gets the value of a group property as a boolean, or a default value if the specified property does not exist or its value can not be properly converted.
Public methodGetGroupCategory
Gets the category of the specified group, or null if the group has no category.
Public methodGetGroupDocumentation
Gets the documentation text, attached to the specified group, or null if the group has no documentation attached.
Public methodGetGroupMetadata
Gets the metadata object, attached to the specified group, or null if the group has no metadata attached.
Public methodGetGroupValue(String, String)
Gets the value of the specified property.
Public methodGetGroupValue(String, String, Object)
Gets the value of the specified property, or a given default value, in case the specified property does not exist.
Public methodGetHashCode (Inherited from Object.)
Public methodGetInt32GroupValue(String, String)
Gets the value of a group property as an integer.
Public methodGetInt32GroupValue(String, String, Int32)
Gets the value of a group property as an integer, or a default value if the specified property does not exist or its value can not be properly converted.
Public methodGetRawGroupValue
Gets the unresolved and untransformed value of a group property in this collection, without looking up the property in GroupedDefaultValueSource.
Public methodGetStringGroupValue(String, String)
Gets the value of a group property as a string.
Public methodGetStringGroupValue(String, String, String)
Gets the value of a group property as a string, or a default value if the specified property does not exist or its value can not be properly converted.
Public methodGetStringListGroupValue(String, String)
Gets the value of a group property as a string array.
Public methodGetStringListGroupValue(String, String, String)
Gets the value of a group property as a string array, or a default value if the specified property does not exist or its value can not be properly converted.
Public methodGetType (Inherited from Object.)
Public methodGroups
Gets the groups in this collection.
Public methodGroupsByCategory
Gets all groups, marked with the specified category.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodPropertyNames
Gets the property names in the specified group.
Public methodResetGroupValue
Resets the specified group property.
Protected methodResolveGroupValue
This method is a hook for child classes, to implement some kind of value resolution or transformation for grouped properties.
Public methodSetGroupCategory
Marks a group with a category.
Public methodSetGroupDocumentation
attaches documentation to a group.
Public methodSetGroupMetadata
Attaches a metadata object to a group.
Public methodSetGroupValue(String, String, Boolean)
Sets a boolean value for the specified group property.
Public methodSetGroupValue(String, String, Int32)
Sets an integer value for the specified group property.
Public methodSetGroupValue(String, String, Object)
Sets the value of the specified property. If the property did exist until now, it is created.
Public methodSetGroupValue(String, String, String)
Sets a string value for the specified group property.
Public methodSetGroupValue(String, String, String)
Sets a string array value for the specified group property.
Public methodToString
Returns a string represenation of this property collection.
(Overrides ObjectToString.)
Public methodToString(Boolean)
Returns a string represenation of this property collection.
Top
See Also