Files
Ffu2Vhdx/ImageCommon/FullFlashUpdateStoragePool.cs
T
2023-08-26 22:11:08 +02:00

46 lines
885 B
C#

using System;
using System.Collections.Generic;
namespace Microsoft.WindowsPhone.Imaging
{
public class FullFlashUpdateStoragePool
{
private FullFlashUpdateStoragePool()
{
_ffuStores = new List<FullFlashUpdateStore>();
}
public FullFlashUpdateStoragePool(FullFlashUpdateImage A_1, ManifestCategory A_2) : this()
{
Image = A_1;
Name = A_2.GetString("Name");
}
public FullFlashUpdateImage Image { get; private set; }
private string Name
{
get; set;
}
public List<FullFlashUpdateStore> Stores
{
get
{
return new List<FullFlashUpdateStore>(_ffuStores);
}
}
internal void AddStore(ManifestCategory A_1)
{
if (A_1 == null)
{
throw new ArgumentNullException("category");
}
_ffuStores.Add(new FullFlashUpdateStore(Image, this, A_1));
}
private List<FullFlashUpdateStore> _ffuStores;
}
}