mirror of
https://github.com/MobileTooling/Ffu2Vhdx.git
synced 2026-07-27 12:48:20 -07:00
46 lines
885 B
C#
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;
|
|
}
|
|
}
|