Table of Contents

Class AreaDomainRelationSet

Namespace
Dynamicweb.Content
Assembly
Dynamicweb.dll
Represents a set of area domain relations.
public class AreaDomainRelationSet
Inheritance
AreaDomainRelationSet
Inherited Members

Constructors

AreaDomainRelationSet()

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

Properties

Items

Gets all items in this set.
public IEnumerable<AreaDomainRelation> Items { get; }

Property Value

IEnumerable<AreaDomainRelation>

Methods

Add(AreaDomainRelation)

Adds new item to this set.
public void Add(AreaDomainRelation relation)

Parameters

relation AreaDomainRelation
Relation.

Add(int, string)

Adds new item to this set.
public void Add(int areaID, string domain)

Parameters

areaID int
Area ID.
domain string
Domain.

Clear()

Removes all items from this set.
public void Clear()

Contains(AreaDomainRelation)

Returns value indicating whether the given item is in this set.
public bool Contains(AreaDomainRelation relation)

Parameters

relation AreaDomainRelation
Relation.

Returns

bool
Value indicating whether the given item is in this set.

Contains(int)

Returns value indicating whether there are one or more items with the given Area ID in this set.
public bool Contains(int areaID)

Parameters

areaID int
Area ID.

Returns

bool
Value indicating whether there are one or more items with the given Area ID in this set.

Contains(string)

Returns value indicating whether there are one or more items with the given domain in this set.
public bool Contains(string domain)

Parameters

domain string
Domain.

Returns

bool
Value indicating whether there are one or more items with the given domain in this set.
To top