C# Class DevBridge.Templates.WebProject.Tools.Mvc.WireJson

Show file Open project: devbridge/StandardWebProjectTemplate Class Usage Examples

Public Methods

Method Description
WireJson ( ) : System

Initializes a new instance of the WireJson class.

WireJson ( bool success ) : System

Initializes a new instance of the WireJson class.

WireJson ( bool success, dynamic data ) : System
WireJson ( bool success, string html ) : System

Initializes a new instance of the WireJson class.

WireJson ( bool success, string dataType, string data, string messages ) : System

Initializes a new instance of the WireJson class.

Method Details

WireJson() public method

Initializes a new instance of the WireJson class.
public WireJson ( ) : System
return System

WireJson() public method

Initializes a new instance of the WireJson class.
public WireJson ( bool success ) : System
success bool Marks success flag.
return System

WireJson() public method

public WireJson ( bool success, dynamic data ) : System
success bool
data dynamic
return System

WireJson() public method

Initializes a new instance of the WireJson class.
public WireJson ( bool success, string html ) : System
success bool Marks success flag.
html string HTML to render in client side.
return System

WireJson() public method

Initializes a new instance of the WireJson class.
public WireJson ( bool success, string dataType, string data, string messages ) : System
success bool Marks success flag.
dataType string Type of the data.
data string The data.
messages string Messages to show.
return System