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

Afficher le fichier Open project: Azure/azure-iot-remote-monitoring Class Usage Examples

Méthodes publiques

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

Méthode Description
CommandHistory ( ) : System

Method Details

CommandHistory() public méthode

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

GetParameterString() public méthode

Gets the string representation of the history parameters.
public GetParameterString ( ) : string
Résultat string

SetParameters() public méthode

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

ToString() public méthode

public ToString ( ) : string
Résultat string