Exemple #1
0
 /// <summary>
 /// Get a readonly snapshot of the published provider with the latest funding lines
 /// from the refresh run but that will not be altered during variations
 /// </summary>
 public PublishedProvider GetPublishedProviderRefreshedSnapShot(string providerId)
 {
     return(AllPublishedProviderSnapShots.TryGetValue(providerId, out PublishedProviderSnapShots publishedProvider)
         ? publishedProvider.LatestSnapshot
         : null);
 }
Exemple #2
0
 /// <summary>
 /// Get a readonly snapshot of the prior state (before this refresh run) of the published provider
 /// </summary>
 public PublishedProvider GetPublishedProviderOriginalSnapShot(string providerId)
 {
     return(AllPublishedProviderSnapShots.TryGetValue(providerId, out PublishedProviderSnapShots publishedProvider)
         ? publishedProvider.Original
         : null);
 }