Exemple #1
0
 public static RedLaser GetInstance(Context context)
 {
     if (_instance == null)
     {
         _instance = new RedLaser(context);
     }
     return(_instance);
 }
Exemple #2
0
 public static IBarcodeScanner Create(Context context)
 {
     return(RedLaser.GetInstance(context));
 }
 public static RedLaser GetInstance(Context context)
 {
     if (_instance == null)
         _instance = new RedLaser(context);
     return _instance;
 }