PostSharp SDK6.6//Post­Sharp.​Sdk.​Code­Model.​Collections Namespace/Member­Value­Pair­Collection Class

MemberValuePairCollection Class

Collection of member-value pairs (MemberValuePair).
Inheritance Hierarchy
System.Object
  IndexedCollection<MemberValuePair>
    PostSharp.Sdk.CodeModel.Collections.MemberValuePairCollection

Namespace:  PostSharp.Sdk.CodeModel.Collections
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.6.3.0 (6.6.3.0)
Syntax
C#
public sealed class MemberValuePairCollection : IndexedCollection<MemberValuePair>

The MemberValuePairCollection type exposes the following members.

Constructors
  NameDescription
Public methodMemberValuePairCollection()
Initializes a new MemberValuePairCollection with default initial capacity.
Public methodMemberValuePairCollection(Int32)
Initializes a new MemberValuePairCollection and specifies the initial capacity.
Properties
  NameDescription
Public propertyCapacity (Inherited from IndexedCollection<MemberValuePair>.)
Public propertyCount (Inherited from IndexedCollection<MemberValuePair>.)
Public propertyIsDisposed Obsolete. (Inherited from IndexedCollection<MemberValuePair>.)
Public propertyIsReadOnly (Inherited from IndexedCollection<MemberValuePair>.)
Public propertyItem[Int32]
Gets a member given its ordinal.
Public propertyItem[String]
Gets a member given its name.
Methods
  NameDescription
Public methodAdd (Inherited from IndexedCollection<MemberValuePair>.)
Public methodClear (Inherited from IndexedCollection<MemberValuePair>.)
Public methodClone
Deeply clones the current collection.
Public methodContains (Inherited from IndexedCollection<MemberValuePair>.)
Public methodCopyTo (Inherited from IndexedCollection<MemberValuePair>.)
Public methodDispose Obsolete. (Inherited from IndexedCollection<MemberValuePair>.)
Public methodEnsureCapacity (Inherited from IndexedCollection<MemberValuePair>.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetEnumerator (Inherited from IndexedCollection<MemberValuePair>.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetRuntimeValue<T>(String)
Gets the runtime value of a given item of the collection, or returns the default value if the item is not defined.
Public methodGetRuntimeValue<T>(String, T)
Gets the runtime value of a given item of the collection, or returns a specified default value if the item is not defined.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetValue<T>(String)
Gets the value of a given item of the collection, or returns the default value if the item is not defined.
Public methodGetValue<T>(String, T)
Gets the value of a given item of the collection, or returns a specified default value if the item is not defined.
Public methodRemove (Inherited from IndexedCollection<MemberValuePair>.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also