private RegistryResponse badResponse(RegistryStatus status) { RegistryResponse response = new RegistryResponse(); response.status = status; return(response); }
public RegistryResponse(RegistryStatus status, SensorRegistryRecord singleData, List <SensorRegistryRecord> listData) { this.status = status; this.singleData = singleData; this.listData = listData; }
public static bool HasFolderError(this RegistryStatus runningState) { return(((int)runningState & (int)FolderErrors) > 0); }
public static bool HasError(this RegistryStatus status) { return(((uint)status & ERROR_BITMASK) != 0); }