C# Class Sdl.Web.Common.Models.PageBase

Model for page content, used for includes and other 'non-concrete' pages. Use WebPage for actual pages.
Inheritance: IPage
Afficher le fichier Open project: sdl/dxa-web-application-dotnet Class Usage Examples

Protected Properties

Свойство Type Description
_regions RegionModelSet

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
DeepCopy ( ) : ViewModel

Creates a deep copy of this View Model.

Equals ( object obj ) : bool

Determines whether the specified object is equal to the current Page Model.

GetHashCode ( ) : int

Serves as a hash function for a particular type.

ToString ( ) : string

Returns a string that represents the current object.

Méthodes protégées

Méthode Description
PageBase ( string id ) : System

Initializes a new instance of PageBase

Method Details

DeepCopy() public méthode

Creates a deep copy of this View Model.
public DeepCopy ( ) : ViewModel
Résultat ViewModel

Equals() public méthode

Determines whether the specified object is equal to the current Page Model.
public Equals ( object obj ) : bool
obj object The object to compare with the current object.
Résultat bool

GetHashCode() public méthode

Serves as a hash function for a particular type.
public GetHashCode ( ) : int
Résultat int

PageBase() protected méthode

Initializes a new instance of PageBase
protected PageBase ( string id ) : System
id string The identifier for the Page.
Résultat System

ToString() public méthode

Returns a string that represents the current object.
public ToString ( ) : string
Résultat string

Property Details

_regions protected_oe property

protected RegionModelSet _regions
Résultat RegionModelSet