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