-
-
Save justinyoo/f623ec42d7724d0bbbedf7273a0b5580 to your computer and use it in GitHub Desktop.
Application Insights WebTests SDK
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class PingWebTestProperties : WebTestProperties | |
{ | |
public override string Kind => TestKind.Ping; | |
public override WebTestConfiguration Configuration { get; set; } | |
} | |
public abstract class WebTestProperties | |
{ | |
... | |
public static implicit operator string(WebTestProperties properties) | |
{ | |
return properties.ToString(); | |
} | |
public override string ToString() | |
{ | |
return JsonConvert.SerializeObject(this); | |
} | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment