C# 클래스 Microsoft.AzureCat.Samples.DeviceSimulator.MainForm

상속: System.Windows.Forms.Form
파일 보기 프로젝트 열기: paolosalvatori/servicefabriceventhubdemo

공개 메소드들

메소드 설명
Combine ( string uri1, string uri2 ) : string
ConfigureComponent ( ) : void
CreateSasTokenForAmqpSender ( string senderKeyName, string senderKey, string serviceNamespace, string hubName, string publisherName, System.TimeSpan tokenTimeToLive ) : string
HandleException ( Exception ex ) : void
IndentJson ( string json ) : string
IsJson ( string item ) : bool
MainForm ( ) : System

Initializes a new instance of the MainForm class.

비공개 메소드들

메소드 설명
CreateSasTokenForHttpsSender ( string senderKeyName, string senderKey, string serviceNamespace, string hubName, string publisherName, System.TimeSpan tokenTimeToLive ) : string
GetValue ( int minValue, int maxValue, int minOffset, int maxOffset, int spikePercentage ) : int
InitializeDevicesAsync ( ) : Task
InternalWriteToLog ( string message ) : void
MainForm_Paint ( object sender, PaintEventArgs e ) : void
MainForm_Shown ( object sender, EventArgs e ) : void
ReadConfiguration ( ) : void
StartDevices ( ) : void
StopDevices ( ) : void
ValidateParameters ( ) : bool
WriteToLog ( string message ) : void
aboutToolStripMenuItem_Click ( object sender, EventArgs e ) : void
btnClear_Click ( object sender, EventArgs e ) : void
btnStart_Click ( object sender, EventArgs e ) : void
button_MouseEnter ( object sender, EventArgs e ) : void
button_MouseLeave ( object sender, EventArgs e ) : void
clearLogToolStripMenuItem_Click ( object sender, EventArgs e ) : void
exitToolStripMenuItem_Click ( object sender, EventArgs e ) : void
grouperDeviceManagement_CustomPaint ( PaintEventArgs e ) : void
grouperEventHub_CustomPaint ( PaintEventArgs e ) : void
logWindowToolStripMenuItem_Click ( object sender, EventArgs e ) : void
lstLog_Leave ( object sender, EventArgs e ) : void
saveLogToolStripMenuItem_Click ( object sender, EventArgs e ) : void

Saves the log to a text file

메소드 상세

Combine() 공개 정적인 메소드

public static Combine ( string uri1, string uri2 ) : string
uri1 string
uri2 string
리턴 string

ConfigureComponent() 공개 메소드

public ConfigureComponent ( ) : void
리턴 void

CreateSasTokenForAmqpSender() 공개 정적인 메소드

public static CreateSasTokenForAmqpSender ( string senderKeyName, string senderKey, string serviceNamespace, string hubName, string publisherName, System.TimeSpan tokenTimeToLive ) : string
senderKeyName string
senderKey string
serviceNamespace string
hubName string
publisherName string
tokenTimeToLive System.TimeSpan
리턴 string

HandleException() 공개 메소드

public HandleException ( Exception ex ) : void
ex System.Exception
리턴 void

IndentJson() 공개 메소드

public IndentJson ( string json ) : string
json string
리턴 string

IsJson() 공개 정적인 메소드

public static IsJson ( string item ) : bool
item string
리턴 bool

MainForm() 공개 메소드

Initializes a new instance of the MainForm class.
public MainForm ( ) : System
리턴 System