QString Class |
Namespace: NetQuarry
The QString type exposes the following members.
Name | Description | |
---|---|---|
QString(String) |
Construct the QueryString from a query string.
| |
QString(HttpContext) |
Construct the QueryString from the HttpContext's HttpRequest.
Note that this constructor handles the case where the HttpContext is null, resulting in an empty collection.
| |
QString(HttpRequest) |
Construct the QueryString from an HttpRequest.
|
Name | Description | |
---|---|---|
ChildObjectID |
Gets or Sets this collection's child object ID
(Inherited from Properties.) | |
Count |
The number of elements actually contained in the ArrayList.
(Inherited from EAPCollectionBase.) | |
IsDirty |
When set, sets or clears the IsDirty bit on each Property in the collection.
When retrieved, returns true if the IsDirty bit is set on any Property in the collection
(Inherited from Properties.) | |
IsFixedSize |
true if the ArrayList has a fixed size; otherwise, false. The default is false.
(Inherited from EAPCollectionBase.) | |
IsReadOnly |
Returns true if the collection is read-only. (Default is false)
(Inherited from EAPCollectionBase.) | |
IsSynchronized |
true if access to the internal ArrayList is synchronized (thread-safe); otherwise, false. The default is false.
(Inherited from EAPCollectionBase.) | |
ItemInt32 |
Indexer declaration
(Inherited from Properties.) | |
ItemString |
Indexer declaration
(Inherited from Properties.) | |
Loaded |
True if the collection has been loaded, False otherwise. Note that the collection may have been loaded
and still remain empty. Also, the Load methods do not honor this flag.
You can test LoadedDate to determine the UTC date/time that this collection was last marked as Loaded.
(Inherited from Properties.) | |
LoadedDate |
Gets the UTC date/time that this collection was last marked as Loaded.
If the collection has not been so marked, DateTime.MinValue is returned.
(Inherited from Properties.) | |
ObjectID |
The obj_id used to load from the database
(Inherited from Properties.) | |
ObjectTypeKey |
The obj_type_key used to load from the database
(Inherited from Properties.) | |
QueryString |
Generate a syntactically valid QueryString.
| |
SubObjectType |
Gets or Sets this collection's sub object type
(Inherited from Properties.) | |
SyncRoot |
An object that can be used to synchronize access to the ArrayList.
(Inherited from EAPCollectionBase.) |
Name | Description | |
---|---|---|
Add(Property) |
Add a property object to the collection
(Inherited from Properties.) | |
Add(String, Property) |
Add a property object to the collection
(Inherited from Properties.) | |
Add(String, Object) |
Adds a property to the collection with the default Attributes set (PropertyAttrs.writeable)
(Inherited from Properties.) | |
Add(String, Object, CollectionAddFlags) |
Adds an item to the collection
(Inherited from EAPCollectionBase.) | |
Add(String, Property, PropertyAttrs) |
Add a property object to the collection
(Inherited from Properties.) | |
Add(String, Object, PropertyAttrs) |
Adds a property to the collection
(Inherited from Properties.) | |
Add(String, Object, PropertyAttrs, String) |
Add a new property object to the collection
(Inherited from Properties.) | |
AddAt |
Adds an item to the collection at the specified index. To append an item use -1 or
the collection item count as the index.
(Inherited from EAPCollectionBase.) | |
Clear |
Clears the collection
(Inherited from EAPCollectionBase.) | |
ClearAttr |
Clears the specified attribute (or multiple attribute bits if the attr value includes multiple attribute bits)
in the specified property.
The property is assumed to be an int (presumably representing an enumeration) defaulting to zero if not found.
If the property already exists then the provided attr bits are cleared from the existing value (using a bit-wise AND of the complement).
If the property does not already exist then it is NOT added.
You can use IsAttrSet(String, Enum) to determine if one or more attribute bits are set.
Use SetAttr(String, Enum) to set a bit or bits.
(Inherited from Properties.) | |
Clone |
Creates a copy of this collection and all of it's members
(Inherited from Properties.) | |
Contains |
Determines whether an element is in the collection.
(Inherited from EAPCollectionBase.) | |
ContainsKey |
Checks for the existence of an item in the hashtable
(Inherited from EAPCollectionBase.) | |
CopyTo |
Copies the entire ArrayList to a compatible one-dimensional Array, starting at the beginning of the target array.
(Inherited from EAPCollectionBase.) | |
DevInfoHtml |
Generates an HTML representation of the properties collection appropriate
for display to a developer.
(Inherited from Properties.) | |
Equals | (Inherited from Object.) | |
ExportTagString |
Export the contents of the collection to a tag string.
(Inherited from Properties.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
FlushMetaProperties |
Flush the specified Properties meta-data, if cached.
(Inherited from Properties.) | |
GetBoolValue(String) |
Returns a value as a boolean for a property in the collection. If the property doesn't exist, then false is returned.
(Inherited from Properties.) | |
GetBoolValue(String, Boolean) |
Returns a value as a boolean for a property in the collection. If the property doesn't exist, then the defaultValue is returned.
(Inherited from Properties.) | |
GetDecimalValue(String) |
Returns a value as an decimal for a property in the collection. If the property doesn't exist, then 0 is returned.
(Inherited from Properties.) | |
GetDecimalValue(String, Decimal) |
Returns a value as an decimal for a property in the collection. If the property doesn't exist, then the defaultValue is returned.
(Inherited from Properties.) | |
GetDoubleValue(String) |
Returns a value as an double for a property in the collection. If the property doesn't exist, 0 is returned.
(Inherited from Properties.) | |
GetDoubleValue(String, Double) |
Returns a value as an double for a property in the collection. If the property doesn't exist, then the defaultValue is returned.
(Inherited from Properties.) | |
GetEnumerator |
Returns an enumerator that can iterate through the ArrayList.
(Inherited from EAPCollectionBase.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetIntValue(String) |
Returns a value as an integer for a property in the collection. If the property doesn't exist, then 0 is returned.
(Inherited from Properties.) | |
GetIntValue(String, Enum) |
Returns a value as an integer (presumably to be interpreted as an enumeration value) for a property in the collection.
If the property doesn't exist, then the defaultValue is returned.
(Inherited from Properties.) | |
GetIntValue(String, Int32) |
Returns a value as an integer for a property in the collection. If the property doesn't exist, then the defaultValue is returned.
(Inherited from Properties.) | |
GetItem(Int32) |
Returns an item that matches the specified string index
(Inherited from EAPCollectionBase.) | |
GetItem(String) |
Returns an item that matches the specified string index
(Inherited from EAPCollectionBase.) | |
GetItemName |
Returns the name of the object (must be an object of type Property)
(Inherited from Properties.) | |
GetStringValue(String) |
Returns a value for a property in the collection. If the property doesn't exist or is blank,
then an empty string is returned.
(Inherited from Properties.) | |
GetStringValue(String, String) |
Returns a value for a property in the collection. If the property doesn't exist or is blank,
then the defaultValue is returned.
(Inherited from Properties.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetValue |
Returns a value for a property in the collection. If the property doesn't exist, then the defaultValue is returned.
(Inherited from Properties.) | |
Import(NameValueCollection, PropertyAttrs) |
Imports a NameValueCollection into this collection
(Inherited from Properties.) | |
Import(String, PropertyAttrs) |
Imports a tag-string into this collection. The string should be in the format of:
name=value;name=value
(Inherited from Properties.) | |
Import(Properties, CollectionAddFlags) |
Imports a collection of properties into this collection
(Inherited from Properties.) | |
Import(String, PropertyAttrs, TagImportAttrs) |
Imports a tag-string into this collection. The string should be in the format of:
name=value;name=value
(Inherited from Properties.) | |
Import(String, PropertyAttrs, TagImportAttrs, Char) |
Imports a tag-string into this collection. The string should be in the format of:
name=value;name=value
(Inherited from Properties.) | |
IndexOf |
Returns the zero-based index of the first occurrence of an object in the internal ArrayList or in a portion of it.
(Inherited from EAPCollectionBase.) | |
IndexOfKey |
Returns the index of the item in the collection (by key)
(Inherited from EAPCollectionBase.) | |
Insert |
Inserts an element into the internal ArrayList at the specified index
(Inherited from EAPCollectionBase.) | |
IsAttrSet |
Determines if the specified attribute is set (or any of the specified attributes are set if the attr value includes multiple
attribute bits) in the specified property.
The property is assumed to be an int (presumably representing an enumeration) defaulting to zero if not found.
You can use SetAttr(String, Enum) to set one or more attribute bits.
Use ClearAttr(String, Enum) to clear a bit or bits.
(Inherited from Properties.) | |
IsMarkedForDeletion |
Determine if the provided item is marked for deletion.
(Inherited from Properties.) | |
IsTypeOK |
Returns true if the object is the correct type (Property)
(Inherited from Properties.) | |
Load(IDatabase, String, String) |
Load overload. This overload loads only from the xmt_properties table.
(Inherited from Properties.) | |
Load(IDatabase, String, String, String) |
Load overload. This overload loads only from the xmt_properties table.
(Inherited from Properties.) | |
Load(IDatabase, String, String, String, String, PropertyLoadFlags) |
Load overload. This overload loads only from the xmt_properties table.
(Inherited from Properties.) | |
LoadAndDistribute(EAPCollectionBase, IAppContext, String, String, String, Boolean) |
Loads the properties for all objects of specified type, then assigns them to each object
Note that the child objects must implement INQBase
(Inherited from Properties.) | |
LoadAndDistribute(EAPCollectionBase, IAppContext, String, String, String, Boolean, String) |
Loads the properties for all objects of specified type, then assigns them to each object
Note that the child objects must implement INQBase
(Inherited from Properties.) | |
LoadMetaProperties(IAppContext, String, String, Boolean) |
Loads the collection of property metadata. This collection is used during load and distribute to distribute a set
of properties across a collection and it's collected objects. (e.g. Mapper and Fields).
(Inherited from Properties.) | |
LoadMetaProperties(IAppContext, String, String, Boolean, IDatabase) |
Loads the collection of property metadata. This collection is used during load and distribute to distribute a set
of properties across a collection and it's collected objects. (e.g. Mapper and Fields).
(Inherited from Properties.) | |
LoadMetaProperties(IAppContext, String, String, Boolean, IDatabase, String) |
Loads the collection of property metadata. This collection is used during load and distribute to distribute a set
of properties across a collection and it's collected objects. (e.g. Mapper and Fields).
(Inherited from Properties.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Merge |
Merge the properties from another Properties collection into this collection.
(Inherited from Properties.) | |
Parameters |
Construct the parameter portion of a query string. The string will include "&" separators,
but no leading "?".
| |
Persist(IDatabase) |
Persist each property marked as PropAttrEnum.persist to the xmt_properties table
(Inherited from Properties.) | |
Persist(IDatabase, String, String) |
Persist's the properties to the database
(Inherited from Properties.) | |
Persist(IDatabase, String, String, String) |
Persist's the properties to the database
(Inherited from Properties.) | |
Persist(IDatabase, String, String, String, Boolean) |
Persist's the properties to the database
(Inherited from Properties.) | |
PrepareForCache |
Prepares this object for cache
(Inherited from Properties.) | |
RecalcHash |
Recalculates the internal hash
(Inherited from EAPCollectionBase.) | |
Remove(Object) |
Removes the first occurrence of a specific object from the collection
(Inherited from EAPCollectionBase.) | |
Remove(String) |
Remove the specified item from the collection.
(Inherited from EAPCollectionBase.) | |
RemoveAt |
Removes the element at the specified index
(Inherited from EAPCollectionBase.) | |
RemoveMarked |
Removes the properties marked with the ToRemove attribute.
(Inherited from Properties.) | |
RemoveMarkedItems |
Removes the properties marked for deletion.
(Inherited from EAPCollectionBase.) | |
RemoveRange |
Removes the element at the specified index
(Inherited from EAPCollectionBase.) | |
ResolveExpression |
Resolve the provided expression for query parameter references of the form [<flags>req.<param>]
where flags is optional and is one or FieldExpressionAttrs and param is the name
of the parameter (and req is literally "req"). References for which no corresponding parameter are
found are not resolved. Note that at this time only request parameters are resolved and the
ParseEmbeddedFuncs is ignored. If embedded functions need to be parsed
you must also call ResolveEmbeddedFunctions(String, IDatabase, ResolveOptions).
| |
SetAttr |
Set the specified attribute (or multiple attribute bits if the attr value includes multiple attribute bits)
in the specified property.
The property is assumed to be an int (presumably representing an enumeration) defaulting to zero if not found.
If the property already exists then the provided attr bits are ORed into the existing value.
If the property does not already exist then it is created and the value set to the provided attr bits.
You can use IsAttrSet(String, Enum) to determine if one or more attribute bits are set.
Use ClearAttr(String, Enum) to clear a bit or bits.
(Inherited from Properties.) | |
SetItem(Int32, Object) |
Sets an item's value at the specified index.
(Inherited from EAPCollectionBase.) | |
SetItem(String, Object) |
Sets an item's value at the string index indicated by the parameters.
(Inherited from EAPCollectionBase.) | |
Sort(Boolean) |
Sort the list by its key value.
(Inherited from EAPCollectionBase.) | |
Sort(IComparer) |
Sort the collection using the provided comparer.
(Inherited from EAPCollectionBase.) | |
SortByValue |
Sort the properties by their values.
(Inherited from Properties.) | |
ToString |
Generate a syntactically valid query string.
| |
ToString(String) |
Generate a syntactially valid query string including only the specified parameters.
| |
Truncate |
Truncate the array starting at the specified index.
(Inherited from EAPCollectionBase.) | |
Unload |
Called when the collection is cleared allowing a derived class to clean up.
(Inherited from EAPCollectionBase.) |
Name | Description | |
---|---|---|
EqualValue |
Determines if the object value is equal to another object. If the two objects are null, then this returns true.
There is special handling for guid comparisons (since a guid could be a string formatted in up to 3 different ways).
If the special guid handling is not performed, then the object.Equals method is used.
(Defined by EAPUtil.) |