PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Extensibility.​Configuration Namespace / Name­Value­Pair Class

NameValuePair Class

Simple name-value pair of strings.
Inheritance Hierarchy
System.Object
  PostSharp.Sdk.Extensibility.Configuration.ConfigurationElement
    PostSharp.Sdk.Extensibility.Configuration.NameValuePair

Namespace:  PostSharp.Sdk.Extensibility.Configuration
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
[SerializableAttribute]
public sealed class NameValuePair : ConfigurationElement

The NameValuePair type exposes the following members.

Constructors
  NameDescription
Public methodNameValuePair
Initializes a new instance of the NameValuePair class
Properties
  NameDescription
Public propertyLocation (Inherited from ConfigurationElement.)
Public propertyName
Gets or sets the name.
Public propertyParent
Gets the parent configuration element.
(Inherited from ConfigurationElement.)
Public propertyRoot
Gets the root configuration element.
(Inherited from ConfigurationElement.)
Public propertyValue
Gets or sets the value.
Public propertyXml (Inherited from ConfigurationElement.)
Methods
  NameDescription
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.
(Inherited from Object.)
Public methodValidate
Validates the current configuration element.
(Inherited from ConfigurationElement.)
See Also