C# 클래스 Sdl.Web.Common.Models.RegionModel

Represents the View Model for a Page Region.
상속: Region
파일 보기 프로젝트 열기: sdl/dxa-web-application-dotnet 1 사용 예제들

공개 메소드들

메소드 설명
DeepCopy ( ) : ViewModel

Creates a deep copy of this View Model.

Equals ( object obj ) : bool

Determines whether the specified object is equal to the current Region Model, i.e. it has the same name.

ExtractSyndicationFeedItems ( Sdl.Web.Common.Configuration.Localization localization ) : IEnumerable

Extracts syndication feed items.

FilterConditionalEntities ( Sdl.Web.Common.Configuration.Localization localization ) : void

Filters (i.e. removes) conditional Entities which don't meet the conditions.

Applies to this Region and all its nested Regions.

GetHashCode ( ) : int

Serves as a hash function for a particular type.

GetXpmMarkup ( Sdl.Web.Common.Configuration.Localization localization ) : string

Gets the rendered XPM markup

RegionModel ( string name ) : System.Collections.Generic

Initializes a new RegionModel instance.

RegionModel ( string name, string qualifiedViewName ) : System.Collections.Generic

Initializes a new RegionModel instance for an empty/non-existing Region.

ToString ( ) : string

Returns a string that represents the current object.

메소드 상세

DeepCopy() 공개 메소드

Creates a deep copy of this View Model.
public DeepCopy ( ) : ViewModel
리턴 ViewModel

Equals() 공개 메소드

Determines whether the specified object is equal to the current Region Model, i.e. it has the same name.
public Equals ( object obj ) : bool
obj object The object to compare with the current object.
리턴 bool

ExtractSyndicationFeedItems() 공개 메소드

Extracts syndication feed items.
public ExtractSyndicationFeedItems ( Sdl.Web.Common.Configuration.Localization localization ) : IEnumerable
localization Sdl.Web.Common.Configuration.Localization The context .
리턴 IEnumerable

FilterConditionalEntities() 공개 메소드

Filters (i.e. removes) conditional Entities which don't meet the conditions.
Applies to this Region and all its nested Regions.
public FilterConditionalEntities ( Sdl.Web.Common.Configuration.Localization localization ) : void
localization Sdl.Web.Common.Configuration.Localization The context Localization.
리턴 void

GetHashCode() 공개 메소드

Serves as a hash function for a particular type.
public GetHashCode ( ) : int
리턴 int

GetXpmMarkup() 공개 메소드

Gets the rendered XPM markup
public GetXpmMarkup ( Sdl.Web.Common.Configuration.Localization localization ) : string
localization Sdl.Web.Common.Configuration.Localization The context Localization.
리턴 string

RegionModel() 공개 메소드

Initializes a new RegionModel instance.
public RegionModel ( string name ) : System.Collections.Generic
name string The name of the Region.
리턴 System.Collections.Generic

RegionModel() 공개 메소드

Initializes a new RegionModel instance for an empty/non-existing Region.
public RegionModel ( string name, string qualifiedViewName ) : System.Collections.Generic
name string The name of the Region.
qualifiedViewName string The qualified name of the View to use to render the Region. Format: format AreaName:ControllerName:ViewName.
리턴 System.Collections.Generic

ToString() 공개 메소드

Returns a string that represents the current object.
public ToString ( ) : string
리턴 string