Click or drag to resize

imbPropertyCollectionExtensions Methods

imbSCI | imbACE | imbNLP | imbWEM | imbWBI

The imbPropertyCollectionExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberadd
Safe way to add or update
Public methodStatic memberaddObjectToMultikeys
Adds the object to multiple keys
Public methodStatic memberaddOrSetFromObject(PropertyCollection, Object, Enum, Boolean)
Public methodStatic memberaddOrSetFromObject(PropertyCollection, Object, Type, Boolean)
Reads values from source object
Public methodStatic memberAddRange
Adds or replaces values of existing with values from data. Overwrite is off if skipExistingKeys is TRUE
Public methodStatic memberaddStringToMultikeys
Adds the string to multikeys.
Public methodStatic memberAppend
Appends the specified key and value accordint the specified [!:aceCommonTypes.enums.existingDataMode]. Returns TRUE if newValueCandidate was written as result of the policy specified.
Public methodStatic memberAppendData
Combines two PropertyCollections according policy specified
Public methodStatic memberbuildDataTable(PropertyCollection, String)
Public methodStatic memberbuildDataTableT(PropertyCollection)
Builds DataTable with two columns: Property name and Value
Public methodStatic memberbuildPCE
Public methodStatic memberbuildPropertyCollectionT
Create or update property collection out of object properties
Public methodStatic memberbuildPropertyCollectionList
Builds the property collection list from IEnumerable source collection
Public methodStatic membercontainsAllOfKeys
Determines whether contains all of keys - the specified fields.
Public methodStatic membercontainsAllOfTypes
Determines whether contains values for each of the specified types.
Public methodStatic membercontainsAnyOfKeys
Determines whether collection contains at least one key - field.
Public methodStatic membercontainsAnyOfTypes
Determines whether contains any value being one the specified types.
Public methodStatic membercontainsKey
Determines whether the specified key contains key - by testing ToString() value it direct test returns false
Public methodStatic membercopyInto
Copies all members of one collection to another. Use AppendData for smarter operations.
Public methodStatic memberget
Gets value using the specified key or its ToString() form if not found on first try
Public methodStatic membergetAndRemove
Public methodStatic membergetAndRemoveProperField
Finds the first proper value (not empty, not null) in source using given fields and removes original data from the source
Public methodStatic membergetAndRemoveProperObjectT
Gets the and remove proper object.
Public methodStatic membergetAndRemoveProperString
Gets the and remove proper string.
Public methodStatic membergetProperBoolean
Public methodStatic membergetProperEnumT
Public methodStatic membergetProperField
Finds the first proper value (not empty, not null) in source using fiven fields
Public methodStatic membergetProperInt32
Gets the proper int32.
Public methodStatic membergetProperObjectT
Gets the field in proper T type
Public methodStatic membergetProperString(PropertyCollection, Enum)
Finds the first proper value (not empty, not null) in source using fiven fields
Public methodStatic membergetProperString(PropertyCollection, String, Enum)
Prefered overload - finds the first proper value (not empty, not null) in source using fiven fields or returns defaultValue if no field was found.
Public methodStatic membergetStringLine
Combines getProperString() results and separator string to create output.
Public methodStatic memberkeyToString
Public methodStatic membersetFromEnumType
Populates the collection with empt
Public methodStatic membersetFromObject
Sets all where key without prefix matches property name
Public methodStatic membersetToObject(PropertyCollection, Object, String)
Sets all where key without prefix matches property name
Public methodStatic membersetToObject(PropertyCollection, Object, Enum, String)
Sets to object.
Public methodStatic membertoPropertyCollection(IDictionary)
Public methodStatic membertoPropertyCollection(IEnumerableEnum, String)
From IEnumerable{Enum} makes PropertyCollection where Key is [!:Type.Name] and Value is the Enum or ToString(String) if format is specified
Public methodStatic membertoString
Top
See Also