Table of Contents

Class SolutionInfo

Namespace
Dynamicweb.Content
Assembly
Dynamicweb.dll
The SolutionInfo class provides information about the currently running solution
[Obsolete("To be deleted")]
public class SolutionInfo
Inheritance
SolutionInfo
Inherited Members

Constructors

SolutionInfo(IEnumerable<AreaInfo>)

Initializes a new instance of the SolutionInfo class
public SolutionInfo(IEnumerable<AreaInfo> areas)

Parameters

areas IEnumerable<AreaInfo>

Properties

Areas

Gets a list of all websites currently in the solution
public IEnumerable<AreaInfo> Areas { get; }

Property Value

IEnumerable<AreaInfo>

WebpageCount

Gets the total number of web pages across websites, where template and folders is not considered a valid web page
public int WebpageCount { get; }

Property Value

int
An integer indicating the number of total web pages across all websites

WebPages

[Obsolete("Use WebpageCount instead.")]
public int WebPages { get; }

Property Value

int

Methods

AreaWebpageCount(int)

Gets the number of web pages for the area with the specified id, if area can't be found zero will be returned
public int AreaWebpageCount(int areaId)

Parameters

areaId int
The id of the area for which to get its number of pages

Returns

int
An integer indicating how many pages the web site with the specified id contains

AreaWebPages(int)

[Obsolete("Use AreaWebpageCount instead")]
public int AreaWebPages(int areaId)

Parameters

areaId int

Returns

int
To top