Exemplo n.º 1
0
 public HelpForm(DeltaStepsBetweenEnvironments.DeltaStepsBetweenEnvironments dbe)
 {
     InitializeComponent();
     this.dbe = dbe;
     this.dbe.Log.LogData(EventType.Event, LogAction.ShowHelpScreen);
     //PopulateSettings(dbe.settings);
 }
        public LogUsage(DeltaStepsBetweenEnvironments.DeltaStepsBetweenEnvironments dbe)
        {
            this.dbe = dbe;

            TelemetryConfiguration.Active.InstrumentationKey = CustomParameter.INSIGHTS_INTRUMENTATIONKEY;
            this.telemetry = new TelemetryClient();
            this.telemetry.Context.Component.Version = DeltaStepsBetweenEnvironments.DeltaStepsBetweenEnvironments.CurrentVersion;
            this.telemetry.Context.Device.Id         = this.dbe.GetType().Name;
        }
Exemplo n.º 3
0
        public LogUsage(DeltaStepsBetweenEnvironments.DeltaStepsBetweenEnvironments dbe)
        {
            this.dbe = dbe;

            TelemetryConfiguration.Active.InstrumentationKey = CustomParameter.InsightsInstrumentationKey;
            this.telemetry = new TelemetryClient();
            this.telemetry.Context.Component.Version = DeltaStepsBetweenEnvironments.DeltaStepsBetweenEnvironments.CurrentVersion;
            this.telemetry.Context.Device.Id         = this.dbe.GetType().Name;
            this.telemetry.Context.User.Id           = Guid.NewGuid().ToString();
        }
Exemplo n.º 4
0
 public Options(DeltaStepsBetweenEnvironments.DeltaStepsBetweenEnvironments dbe)
 {
     InitializeComponent();
     this.dbe = dbe;
     PopulateSettings(dbe.Settings);
 }