PostSharpAPI ReferencePost­Sharp.​SerializationDotted­String
Open sandboxFocus

DottedString Class

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

Inheritance
System.Object
DottedString
Implements
IEquatable<DottedString>
Namespace: PostSharp.Serialization
Assembly: PostSharp.dll
Syntax
public sealed class DottedString : ValueType

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
Equality(DottedString, DottedString)

Operator.

Implicit(DottedString to String)

Converts a DottedString into a String.

Implicit(String to DottedString)

Converts a String into a DottedString.

Inequality(DottedString, DottedString)

Operator.