Table of Contents

Struct AddressField

Namespace
Dynamicweb.Ecommerce.Orders.AddressValidation
Assembly
Dynamicweb.Ecommerce.dll

The structure AddressField represents info about address field for the validation.

[Serializable]
public struct AddressField : IEquatable<AddressField>
Implements
Inherited Members

Properties

FieldType

The type of field.

public AddressFieldType FieldType { readonly get; set; }

Property Value

AddressFieldType

NewValue

The value that will be provided as suggestion for the field if not valid.

public string NewValue { readonly get; set; }

Property Value

string

OldValue

The current value of the field.

public string OldValue { readonly get; set; }

Property Value

string

Methods

Equals(AddressField)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(AddressField other)

Parameters

other AddressField

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object)

Indicates whether this instance and a specified object are equal.

public override bool Equals(object obj)

Parameters

obj object

The object to compare with the current instance.

Returns

bool

true if obj and this instance are the same type and represent the same value; otherwise, false.

GetHashCode()

Returns the hash code for this instance.

public override int GetHashCode()

Returns

int

A 32-bit signed integer that is the hash code for this instance.

Operators

operator ==(AddressField, AddressField)

public static bool operator ==(AddressField left, AddressField right)

Parameters

left AddressField
right AddressField

Returns

bool

operator !=(AddressField, AddressField)

public static bool operator !=(AddressField left, AddressField right)

Parameters

left AddressField
right AddressField

Returns

bool
To top