Esempio n. 1
0
        public void Clear(Origin origin)
        {
            switch (origin)
            {
            case Origin.Source:
                sourceDirectory.Clear();
                for (int i = 0, c = map.Count; i < c; i++)
                {
                    map[i].source.Clear();
                }
                break;

            case Origin.Destination:
                destinationDirectory = "";
                for (int i = 0, c = map.Count; i < c; i++)
                {
                    map[i].destination.Clear();
                }
                break;
            }

            map = map.Where(x => AssetId.IsValid(x.source) || AssetId.IsValid(x.destination)).ToList();
        }
Esempio n. 2
0
 public AssetIdentifierTuple(AssetId src, AssetId dest)
 {
     source      = src ?? new AssetId();
     destination = dest ?? new AssetId();
 }
Esempio n. 3
0
 public AssetIdentifierTuple()
 {
     source      = null;
     destination = null;
 }