Click or drag to resize

ConcurrentPropertyBag Class

Provides a thread-safe IPropertyBag implementation.
Inheritance Hierarchy
SystemObject
  Microsoft.ClearScriptPropertyBag
    Microsoft.ClearScriptConcurrentPropertyBag

Namespace: Microsoft.ClearScript
Assembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.4.4
Syntax
public class ConcurrentPropertyBag : PropertyBag

The ConcurrentPropertyBag type exposes the following members.

Constructors
 NameDescription
Public methodConcurrentPropertyBag Initializes a new writable ConcurrentPropertyBag with the default property name comparer.
Public methodConcurrentPropertyBag(Boolean) Initializes a new ConcurrentPropertyBag with the default property name comparer.
Public methodConcurrentPropertyBag(IEqualityComparerString) Initializes a new writable ConcurrentPropertyBag.
Public methodConcurrentPropertyBag(Boolean, IEqualityComparerString) Initializes a new ConcurrentPropertyBag.
Top
Properties
 NameDescription
Public propertyComparer Gets the property name comparer for the PropertyBag.
(Inherited from PropertyBag)
Public propertyItem Gets or sets a property value in the PropertyBag.
(Inherited from PropertyBag)
Public propertyKeys Gets a collection of property names from the PropertyBag.
(Inherited from PropertyBag)
Public propertyValues Gets a collection of property values from the PropertyBag.
(Inherited from PropertyBag)
Top
Methods
 NameDescription
Public methodAdd Adds a property to the PropertyBag.
(Inherited from PropertyBag)
Public methodClearNoCheck Removes all properties without checking whether the PropertyBag is read-only.
(Inherited from PropertyBag)
Public methodContainsKey Determines whether the PropertyBag contains a property with the specified name.
(Inherited from PropertyBag)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodRemove Removes a property from the PropertyBag.
(Inherited from PropertyBag)
Public methodRemovePropertyNoCheck Removes a property without checking whether the PropertyBag is read-only.
(Inherited from PropertyBag)
Public methodSetPropertyNoCheck Sets a property value without checking whether the PropertyBag is read-only.
(Inherited from PropertyBag)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodTryGetValue Looks up a property value in the PropertyBag.
(Inherited from PropertyBag)
Top
Events
 NameDescription
Public eventPropertyChanged Occurs when a property is added or replaced, or when the collection is cleared.
(Inherited from PropertyBag)
Top
See Also