Table of Contents

Class AreaDomainRelation

Namespace
Dynamicweb.Content
Assembly
Dynamicweb.dll
Represents an area domain relation.
public class AreaDomainRelation
Inheritance
AreaDomainRelation
Inherited Members

Constructors

AreaDomainRelation()

Initializes a new instance of an object.
public AreaDomainRelation()

AreaDomainRelation(AreaDomainRelation)

Initializes a new instance of an object.
public AreaDomainRelation(AreaDomainRelation copyFrom)

Parameters

copyFrom AreaDomainRelation
Object to copy state from.

Exceptions

ArgumentNullException
copyFrom is null.

AreaDomainRelation(int, string)

Initializes a new instance of an object.
public AreaDomainRelation(int areaID, string domain)

Parameters

areaID int
Area ID.
domain string
Domain.

Properties

AreaID

Gets or sets the area ID.
public int AreaID { get; set; }

Property Value

int

Domain

Gets or sets the domain.
public string Domain { get; set; }

Property Value

string

IsLockedToDomain

Gets or sets value indicating whether "Lock pages to the given domain" flag is set for the given area.
public bool IsLockedToDomain { get; set; }

Property Value

bool

IsPrimaryDomain

Gets or sets value indicating whether given domain is a primary domain for the given area.
public bool IsPrimaryDomain { get; set; }

Property Value

bool

Methods

CopyTo(AreaDomainRelation)

Copies the state of the given object into the current one.
public void CopyTo(AreaDomainRelation target)

Parameters

target AreaDomainRelation
Object to copy state from.

Exceptions

ArgumentNullException
target is null.

Equals(object)

Determines whether current object is equal to the given one.
public override bool Equals(object obj)

Parameters

obj object
Object to compere to.

Returns

bool
Value indicating whether current object is equal to the given one.

GetHashCode()

Returns a hash code of a given object.
public override int GetHashCode()

Returns

int
A hash code of a given object.

NormalizeDomain(string)

Normalizes the given domain.
public static string NormalizeDomain(string domain)

Parameters

domain string
Domain to normalize.

Returns

string
Normalized domain.

ToString()

Returns a string representation of the current object.
public override string ToString()

Returns

string
String representation of the current object.
To top