Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Application Insights WebTests SDK
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
You can’t perform that action at this time.