public override bool Equals(object obj) { QRCodeWrapper oQRCodeWrapper = obj as QRCodeWrapper; if (oQRCodeWrapper == null) { return(false); } return(oQRCodeWrapper.QRCode == QRCode); }
public async Task<Box> FindBox(QRCodeWrapper oQRCode) { CurrentBox = Boxes.FirstOrDefault(oBox => oBox.QRCode == oQRCode); if (CurrentBox == null) { CurrentBox = new Box(this, oQRCode); await MoveFolder.CreateFolderAsync(CurrentBox.ImageFolder); Boxes.Add(CurrentBox); } return CurrentBox; }
public async Task <Box> FindBox(QRCodeWrapper oQRCode) { CurrentBox = Boxes.FirstOrDefault(oBox => oBox.QRCode == oQRCode); if (CurrentBox == null) { CurrentBox = new Box(this, oQRCode); await MoveFolder.CreateFolderAsync(CurrentBox.ImageFolder); Boxes.Add(CurrentBox); } return(CurrentBox); }
public Box(Move oMove, QRCodeWrapper oQRCode) { AssociatedMove = oMove; QRCode = oQRCode; IsPacked = true; }