Esempio n. 1
0
 public static void Init(INfc nfc)
 {
     if (Nfc == null)
     {
         Nfc = nfc ?? throw new ArgumentNullException(nameof(nfc));
     }
 }
Esempio n. 2
0
 public AddAttendance()
 {
     InitializeComponent();
     device         = DependencyService.Get <INfc>();
     device.NewTag += HandleNewTag;
 }
Esempio n. 3
0
 public NfcViewModel()
 {
     _nfc = CrossNfc.Current;
 }