Note: This API is now obsolete.
Class to manage a collection of FindParam objects.
Inheritance Hierarchy
System.Collections.GenericDictionaryString, FindParam
ArtOfTest.WebAii.ObjectModelFindParamCollection
Namespace: ArtOfTest.WebAii.ObjectModel
Assembly: ArtOfTest.WebAii (in ArtOfTest.WebAii.dll) Version: 2018.1.116.0 (2018.1.116.0)
Syntax
[SerializableAttribute] [ObsoleteAttribute("Please use the FindExpression.StringRepresentation as a simpler serialization mechanizm or the FindExpressionsCollection<T>")] public class FindParamCollection : Dictionary<string, FindParam>, IXmlSerializable, ISerializable
The FindParamCollection type exposes the following members.
Constructors
Name | Description | |
---|---|---|
FindParamCollection |
Create a new FindParam collection that also be serialized.
| |
FindParamCollection(SerializationInfo, StreamingContext) |
Create new FindParamCollection. Serialization Constructor
|
Properties
Name | Description | |
---|---|---|
Comparer | (Inherited from DictionaryString, FindParam.) | |
Count | (Inherited from DictionaryString, FindParam.) | |
Item |
Access a FindParam using its key.
| |
Keys | (Inherited from DictionaryString, FindParam.) | |
ReturnNullIfNotFound |
Gets/Sets whether to throw or return null if a FindParam is not found.
| |
Values | (Inherited from DictionaryString, FindParam.) |
Methods
Name | Description | |
---|---|---|
Add |
Add a new FindParam item.
| |
Clear | (Inherited from DictionaryString, FindParam.) | |
ContainsKey | (Inherited from DictionaryString, FindParam.) | |
ContainsValue | (Inherited from DictionaryString, FindParam.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetEnumerator | (Inherited from DictionaryString, FindParam.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetObjectData | Implements the ISerializable interface and returns the data needed to serialize the DictionaryTKey, TValue instance. (Inherited from DictionaryString, FindParam.) | |
GetSchema |
Return the schema used for serialization.
Remarks | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
LoadFromFile |
Load a FindParamCollection from a file.
| |
LoadFromXml |
Load a FindParamCollection from an xml persisted string.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnDeserialization | Implements the ISerializable interface and raises the deserialization event when the deserialization is complete. (Inherited from DictionaryString, FindParam.) | |
OnItemAdded |
Trigger the ItemAdded event.
| |
ReadXml |
Deserialized from the xmlReader and initialize the object
| |
Remove | (Inherited from DictionaryString, FindParam.) | |
Save |
Serialized and saves the current collection to a file.
You can later load that file using FindParamCollection.Load().
| |
ToArray |
Get an array of FindParam objects contained in this collection.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
ToXml |
Serialize and return the current FindParamCollection as a string.
You can later use that string to create a FindParamCollection using the .Load().
| |
TryGetValue | (Inherited from DictionaryString, FindParam.) | |
WriteXml |
Serialize this object to the XmlWriter
|
Events
Name | Description | |
---|---|---|
ItemAdded |
Occurs when a new items is added to this collection.
|
See Also