1
0
Форкнуть 0

Making properties automatic and changing the build definition to release

This commit is contained in:
kartang 2016-05-09 12:30:44 -07:00
Родитель 9321fc6ea9
Коммит ba03436f9c
2 изменённых файлов: 12 добавлений и 26 удалений

Просмотреть файл

@ -13,8 +13,8 @@ $Projects = @(
$Commands = @(
'restore',
'build',
'pack'
'build -c Release',
'pack -c Release'
)
Function Execute-DotnetProcess {

Просмотреть файл

@ -5,39 +5,25 @@
/// </summary>
public class ApplicationInsightsServiceOptions
{
private bool enableQuickPulseMetricStream = true;
private bool enableAdaptiveSampling = true;
/// <summary>
/// Application Insights service options that controlls the default behavior of application insights features.
/// </summary>
public ApplicationInsightsServiceOptions()
{
this.EnableQuickPulseMetricStream = true;
this.EnableAdaptiveSampling = true;
}
/// <summary>
/// Setting EnableQuickPulseMetricStream to false, will disable the default quick pulse metric stream. As a result, QuickPulseTelemetryModule
/// and QuickPulseTelemetryProcessor are not registered with the configuration by default.
/// </summary>
public bool EnableQuickPulseMetricStream
{
get
{
return enableQuickPulseMetricStream;
}
set
{
enableQuickPulseMetricStream = value;
}
}
public bool EnableQuickPulseMetricStream { get; set; }
/// <summary>
/// Setting EnableAdaptiveSampling to false, will disable the default adaptive sampling feature. As a result, no telemetry processor
/// that controls sampling is added to the service by default.
/// </summary>
public bool EnableAdaptiveSampling
{
get
{
return enableAdaptiveSampling;
}
set
{
enableAdaptiveSampling = value;
}
}
public bool EnableAdaptiveSampling { get; set; }
}
}