Click or drag to resize

NameValueCollection Class

Name value collection
Inheritance Hierarchy
SystemObject
  System.Collections.GenericDictionaryString, ListString
    SanteDB.Core.Model.QueryNameValueCollection

Namespace:  SanteDB.Core.Model.Query
Assembly:  SanteDB.Core.Model (in SanteDB.Core.Model.dll) Version: 2.2.1
Syntax
public class NameValueCollection : Dictionary<string, List<string>>

The NameValueCollection type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyComparer (Inherited from DictionaryString, ListString.)
Public propertyCount (Inherited from DictionaryString, ListString.)
Public propertyItem
Gets or sets the value associated with the specified key.
(Inherited from DictionaryString, ListString.)
Public propertyKeys (Inherited from DictionaryString, ListString.)
Public propertyValues (Inherited from DictionaryString, ListString.)
Top
Methods
  NameDescription
Public methodAdd(String, IEnumerableString)
Add the specified key and value to the collection
Public methodAdd(String, String)
Add the specified key and value to the collection
Public methodAdd(TKey, TValue)
Adds the specified key and value to the dictionary.
(Inherited from DictionaryString, ListString.)
Public methodClear (Inherited from DictionaryString, ListString.)
Public methodContainsKey (Inherited from DictionaryString, ListString.)
Public methodContainsValue (Inherited from DictionaryString, ListString.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator (Inherited from DictionaryString, ListString.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetObjectData (Inherited from DictionaryString, ListString.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodOnDeserialization
Implements the ISerializable interface and raises the deserialization event when the deserialization is complete.
(Inherited from DictionaryString, ListString.)
Public methodStatic memberParseQueryString
Parse a query string
Public methodRemove (Inherited from DictionaryString, ListString.)
Public methodToNameValueCollection
Convert to name value collection
Public methodToString
Represent as a string
(Overrides ObjectToString.)
Public methodTryGetValue
Gets the value associated with the specified key.
(Inherited from DictionaryString, ListString.)
Top
Extension Methods
  NameDescription
Public Extension MethodConvertTReturn
The purpose of this method is to convert object me to TReturn. Why? Because if you have an instance of Act that actually needs to be a SubstanceAdministration we can't just cast so we have to copy.
(Defined by ExtensionMethods.)
Public Extension MethodGetInstanceOfTDomain
Gets an instance of TDomain from me
(Defined by ModelExtensions.)
Top
See Also