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