Пример #1
0
 /// <summary>
 /// Unit Test Only! Initializes a new instance of the <see cref="ApplicationInsightsApplicationIdProvider" /> class and accepts mocks for fetching Application Id.
 /// </summary>
 internal ApplicationInsightsApplicationIdProvider(ProfileServiceWrapper profileServiceWrapper)
 {
     this.applicationIdProvider = profileServiceWrapper;
 }
Пример #2
0
 /// <summary>
 /// Initialize a new instance of the <see cref="ApplicationInsightsApplicationIdProvider"/> class.
 /// </summary>
 public ApplicationInsightsApplicationIdProvider()
 {
     this.applicationIdProvider = new ProfileServiceWrapper();
 }