Open sandboxFocus

Struct DottedString

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

Implements
Namespace: PostSharp.Serialization
Assembly: PostSharp.dll
Syntax
public struct DottedString : IEquatable<DottedString>

Constructors

Name Description
DottedString(string)

Initializes a new instance of the DottedString class.

Fields

Name Description
Null

Gets an instance of DottedString representing a null string.

Properties

Name Description
IsNull

Gets a value indicating whether the current DottedString represents a null string.

Value

Gets the string encapsulated by the current DottedString.

Methods

Name Description
Equals(DottedString)

Determines whether the current DottedString is equal to another one.

Equals(object)
GetHashCode()
ToString()

Operators

Name Description
operator ==(DottedString, DottedString)

Operator.

implicit operator string(DottedString)

Converts a DottedString into a string.

implicit operator DottedString(string)

Converts a string into a DottedString.

operator !=(DottedString, DottedString)

Operator.