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

MemberValuePair Class

Represents the fact that a member is assigned a value.
Inheritance Hierarchy
System.Object
  PostSharp.Sdk.CodeModel.MemberValuePair

Namespace:  PostSharp.Sdk.CodeModel
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.7.10.0 (6.7.10.0)
Syntax
C#
public sealed class MemberValuePair : ICloneableModuleElement, 
	IModuleElement, IPositioned, INamed

The MemberValuePair type exposes the following members.

Constructors
  NameDescription
Public methodMemberValuePair
Initializes a new MemberValuePair.
Properties
  NameDescription
Public propertyDeclaringAssembly
Gets the declaring assembly.
Public propertyMemberKind
Kind of member (Field, Parameter or Property).
Public propertyMemberName
Member name.
Public propertyModule
Gets the declaring module.
Public propertyOrdinal
Gets the ordinal of this instance in the parent collection.
Public propertyValue
Member value.
Methods
  NameDescription
Public methodClone
Clone the current instance, but sets another ordinal.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Overrides Object.ToString().)
Public methodTranslate
Translates the current MemberValuePair so that it can be used in another module.
See Also