Esempio n. 1
0
 public IEnumerable <IRecord> getIRecordsByBiometricID(BiometricID biometricID)
 {
     foreach (TRecord r in dataByBiometricID[biometricID])
     {
         yield return(r);
     }
 }
Esempio n. 2
0
        public override bool Equals(object obj)
        {
            // If parameter cannot be cast to ThreeDPoint return false:
            BiometricID p = obj as BiometricID;

            if ((object)p == null)
            {
                return(false);
            }

            // Return true if the fields match:
            return(this == p);
        }
Esempio n. 3
0
 public Record(IRecord fromRecord)
 {
     this.BiometricID = fromRecord.BiometricID;
     this.SampleID    = fromRecord.SampleID;
 }
Esempio n. 4
0
        /*
         * public Record(BiometricID bioID) {
         *  BiometricID = bioID;
         *  UniqueRecordID = "";
         * }*/

        public Record(BiometricID bioID, string sampleID)
        {
            BiometricID = bioID;
            SampleID    = sampleID;
        }