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 DottedString.

Fields

Name Description
Null

Gets an instance of DottedString representing a null string.

Properties

Name Description
IsNull

Determines 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 currentDottedString 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.