Show / Hide Table of Contents

Class ResponseModel

Inheritance
object
ResponseModel
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: Dnn.PersonaBar.Library.Prompt.Models
Assembly: Dnn.PersonaBar.Library.dll
Syntax
public class ResponseModel

Constructors

ResponseModel(bool, string)

Initializes a new instance of the ResponseModel class.

Declaration
public ResponseModel(bool err, string msg)
Parameters
Type Name Description
bool err

Whether the response is an error.

string msg

The message.

ResponseModel(bool, string, string)

Initializes a new instance of the ResponseModel class.

Declaration
public ResponseModel(bool err, string msg, string data)
Parameters
Type Name Description
bool err

Whether the response is an error.

string msg

The message.

string data

The data.

Fields

Data

Declaration
public string Data
Field Value
Type Description
string

IsError

Declaration
public bool IsError
Field Value
Type Description
bool

Message

Declaration
public string Message
Field Value
Type Description
string

Extension Methods

JsonExtensionsWeb.ToJson(object)
Back to top by the community, for the community... #DNNCMS