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

Represents data about the Model, View and Controller
显示文件 Open project: sdl/dxa-web-application-dotnet Class Usage Examples

Public Methods

Method Description
Equals ( object obj ) : bool

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

GetHashCode ( ) : int

Serves as a hash function for a particular type.

MvcData ( ) : System

Initializes a new empty MvcData instance.

MvcData ( MvcData other ) : System

Initializes a new MvcData instance which is a copy of another.

MvcData ( string qualifiedViewName ) : System

Initializes a new MvcData instance for a given qualified View name.

ToString ( ) : string

Returns a string that represents the current object.

Private Methods

Method Description
SafeHashCode ( object obj ) : int

Method Details

Equals() public method

Determines whether the specified object is equal to the current object.
public Equals ( object obj ) : bool
obj object The object to compare with the current object.
return bool

GetHashCode() public method

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

MvcData() public method

Initializes a new empty MvcData instance.
public MvcData ( ) : System
return System

MvcData() public method

Initializes a new MvcData instance which is a copy of another.
public MvcData ( MvcData other ) : System
other MvcData The other to copy.
return System

MvcData() public method

Initializes a new MvcData instance for a given qualified View name.
public MvcData ( string qualifiedViewName ) : System
qualifiedViewName string The qualified View name with format AreaName:ControllerName:ViewName.
return System

ToString() public method

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