예제 #1
0
 public void Load()
 {
     if (profileStore != null)
     {
         var profileData = profileStore.Load();
         if (profileData != null)
         {
             LoadEnvironmentData(profileData);
             LoadSubscriptionData(profileData);
         }
     }
 }
        public ProfileData Load()
        {
            IProfileStore store = NewStoreExists() ? EnsureNewStore() : new PowershellOldSettingsProfileStore();

            return(store.Load());
        }