Exemplo n.º 1
0
        private static object Read(UnsafeReader reader)
        {
            var count  = reader.ReadInt32();
            var result = new AssetUsagesDataElement();

            for (int i = 0; i < count; i++)
            {
                result.AssetUsages.Add(AssetUsage.ReadFrom(reader));
            }

            return(result);
        }
Exemplo n.º 2
0
 public AssetUsagesDataElement(AssetUsage assetUsage)
 {
     AssetUsages.Add(assetUsage);
 }
Exemplo n.º 3
0
 protected bool Equals(AssetUsage other)
 {
     return(Location.Equals(other.Location));
 }