public UserManagement(AttendanceDeviceModel attendanceDevice, IAttendanceDeviceDriver attendanceDeviceDriver, ServiceStatus serviceStatus, SyncStatus syncStatus, MessagePass throwMessage) { this._attendanceDevice = attendanceDevice; this._attendanceDeviceDriver = attendanceDeviceDriver; this._serviceStatus = serviceStatus; this._syncStatus = syncStatus; this.ThrowMessage = throwMessage; }
public Synchronization(ServiceDelegate.DeviceSynchronizedEventHandler throwMessage, AttendanceDeviceModel attendanceDeviceModel) { _serviceStatus = new ServiceStatus(); _syncStatus = new SyncStatus(); _attendanceDeviceModel = attendanceDeviceModel; _throwMessage = throwMessage; }