Interface UpdateInPlaceRoundTripContract.IAdapter<TAsset>
What a wizard-specific test adapter supplies to run this contract against its own window and creator.
Namespace: Serenity.Tests.Shared.Editor
Assembly: Serenity.Tests.Shared.Editor.dll
Syntax
public interface UpdateInPlaceRoundTripContract.IAdapter<TAsset> where TAsset : Object
Type Parameters
| Name | Description |
|---|---|
| TAsset |
Methods
ConfirmWithZeroEdits()
Runs the wizard's primary action with no further edits beyond the seed. Returns the asset path written for every asset in the run (any order).
Declaration
IReadOnlyList<string> ConfirmWithZeroEdits()
Returns
| Type | Description |
|---|---|
| IReadOnlyList<string> |
SeedFromExisting(IReadOnlyList<TAsset>)
Seeds the wizard from existingAssets — whatever the window's own
target-change reaction (its own SeedFromTarget) does when its target(s) resolve to them.
Declaration
void SeedFromExisting(IReadOnlyList<TAsset> existingAssets)
Parameters
| Type | Name | Description |
|---|---|---|
| IReadOnlyList<TAsset> | existingAssets |