PostSharp5.0//API Reference/Post­Sharp.​Serialization Namespace/Dotted­String Structure

DottedString Structure

Encapsulates dotted strings such as namespaces and type names, so their serialization by PortableFormatter can be optimized.

Namespace:  PostSharp.Serialization
Assembly:  PostSharp (in PostSharp.dll) Version: 5.0.55.0 (5.0.55.0)
Syntax
C#
public struct DottedString : IEquatable<DottedString>

The DottedString type exposes the following members.

Constructors
  NameDescription
Public methodDottedString
Initializes a new DottedString.
Properties
  NameDescription
Public propertyIsNull
Determines whether the current DottedString represents a null string.
Public propertyValue
Gets the string encapsulated by the current DottedString.
Methods
  NameDescription
Public methodEquals(Object)
Indicates whether this instance and a specified object are equal.
(Overrides ValueType.Equals(Object).)
Public methodEquals(DottedString)
Determines whether the currentDottedString is equal to another one.
Public methodGetHashCode
Returns the hash code for this instance.
(Overrides ValueType.GetHashCode().)
Public methodToString
Returns the fully qualified type name of this instance.
(Overrides ValueType.ToString().)
Operators
  NameDescription
Public operatorStatic memberImplicit(String to DottedString)
Converts a String into a DottedString.
Public operatorStatic memberImplicit(DottedString to String)
Converts a DottedString into a String.
Fields
  NameDescription
Public fieldStatic memberNull
Gets an instance of DottedString representing a null string.
Extension Methods
  NameDescription
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
See Also