private static string GetApplicationId(IApplicationIdProvider applicationIdProvider)
 {
     try
     {
         return applicationIdProvider.GetApplicationId();
     }
     catch
     {
         return null;
     }
 }
 private static string GetApplicationId(IApplicationIdProvider applicationIdProvider)
 {
     try
     {
         return(applicationIdProvider.GetApplicationId());
     }
     catch
     {
         return(null);
     }
 }
示例#3
0
 public static void SetCurrent(IApplicationIdProvider applicationIdProvider)
 {
     _current.Value = applicationIdProvider.GetApplicationId();
 }
示例#4
0
 public static void SetCurrent(IApplicationIdProvider applicationIdProvider)
 {
     _current.Value = applicationIdProvider.GetApplicationId();
 }