C# Class Microsoft.Azure.Devices.Applications.RemoteMonitoring.Common.Models.CommandHistory

Show file Open project: Azure/azure-iot-remote-monitoring Class Usage Examples

Public Methods

Method Description
CommandHistory ( string name, dynamic parameters = null ) : System

Creates a new instance of a command history model.

GetParameterString ( ) : string

Gets the string representation of the history parameters.

SetParameters ( dynamic parameters ) : void

Adds the entire set of parameters to the command history.

ToString ( ) : string

Private Methods

Method Description
CommandHistory ( ) : System

Method Details

CommandHistory() public method

Creates a new instance of a command history model.
public CommandHistory ( string name, dynamic parameters = null ) : System
name string The name of the command.
parameters dynamic Dynamic list of parameters issued with the command.
return System

GetParameterString() public method

Gets the string representation of the history parameters.
public GetParameterString ( ) : string
return string

SetParameters() public method

Adds the entire set of parameters to the command history.
public SetParameters ( dynamic parameters ) : void
parameters dynamic The parameters to set on the history. Must be either a JArray, JObject or a instance.
return void

ToString() public method

public ToString ( ) : string
return string