private void CreateStorageEntries()
        {
            using (StorageCreationNodeCommand cmd = new StorageCreationNodeCommand(ServiceProvider))
            {
                cmd.Execute(ServiceHelper.GetCurrentRootNode(ServiceProvider));
            }
            IStorageService storage = CurrentHierarchy.StorageService;

            storage.ForEach(new Action <StorageCreationCommand>(ExecuteStorageCommand));
        }
コード例 #2
0
 private void CreateStorageEntries()
 {
     using (StorageCreationNodeCommand cmd = new StorageCreationNodeCommand(ServiceProvider))
     {
         cmd.Execute(ServiceHelper.GetCurrentRootNode(ServiceProvider));
     }
     IStorageService storage = CurrentHierarchy.StorageService;
     storage.ForEach(new Action<StorageCreationCommand>(ExecuteStorageCommand));
 }