public new PageViewData DeepClone() { var other = new PageViewData(); this.ApplyProperties(other); return(other); }
protected override void ApplyProperties(EventData other) { base.ApplyProperties(other); PageViewData otherPageView = other as PageViewData; if (otherPageView != null) { otherPageView.url = this.url; otherPageView.duration = this.duration; } }
/// <summary> /// Initializes a new instance of the <see cref="PageViewTelemetry"/> class. /// </summary> public PageViewTelemetry() { this.Data = new PageViewData(); this.context = new TelemetryContext(this.Data.properties, new Dictionary<string, string>()); }
/// <summary> /// Initializes a new instance of the <see cref="PageViewTelemetry"/> class. /// </summary> public PageViewTelemetry() { this.Data = new PageViewData(); this.context = new TelemetryContext(this.Data.properties); }