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

Represents data about the Model, View and Controller
Afficher le fichier Open project: sdl/dxa-web-application-dotnet Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
SafeHashCode ( object obj ) : int

Method Details

Equals() public méthode

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.
Résultat bool

GetHashCode() public méthode

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

MvcData() public méthode

Initializes a new empty MvcData instance.
public MvcData ( ) : System
Résultat System

MvcData() public méthode

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

MvcData() public méthode

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.
Résultat System

ToString() public méthode

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