5 writes to State
Aspire.Hosting.Tests (5)
tests\Shared\TestInteractionFileUploadStore.cs (5)
49entry.State = FileEntryState.Uploaded; 76entry.State = FileEntryState.DiscardWhenComplete; 123entry.State = FileEntryState.Accepted; 149entry.State = entry.State switch 178entry.State = FileEntryState.DiscardWhenComplete;
9 references to State
Aspire.Hosting.Tests (9)
tests\Shared\TestInteractionFileUploadStore.cs (9)
46removeEntry = entry.State == FileEntryState.DiscardWhenComplete; 47if (entry.State == FileEntryState.Uploading) 73removeEntry = entry.State is not (FileEntryState.Uploading or FileEntryState.DiscardWhenComplete); 94if (entry.State is FileEntryState.Uploaded or FileEntryState.Accepted && 117if (entry.State is not (FileEntryState.Uploaded or FileEntryState.Accepted) || 146removeEntry = entry.InteractionId == interactionId && entry.State == FileEntryState.Uploaded; 149entry.State = entry.State switch 152_ => entry.State 175entry.State is FileEntryState.Uploaded or FileEntryState.Accepted;