You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When specifying classnames for lifecycle methods, it would be great if we could specify, e.g. one method setup for two methods - and only have that setup run once.
e.g.
[SailfishMethodSetup(RunOnce: true, nameof(MethodA), nameof(MethodB))]
public void Setup(){ }
[SailfishMethod]
public void MethodA() => ...
[SailfishMethod]
public void MethodB() => ...
Where the Setup() method is executed once before the first method invocation.
The text was updated successfully, but these errors were encountered:
paulegradie
changed the title
RunOnce flag onthe SailfishMethodSetup/Teardown and SailfishIterationSetup/Teardown
[FeatureRequest] RunOnce flag onthe SailfishMethodSetup/Teardown and SailfishIterationSetup/Teardown
Apr 1, 2024
When specifying classnames for lifecycle methods, it would be great if we could specify, e.g. one method setup for two methods - and only have that setup run once.
e.g.
Where the Setup() method is executed once before the first method invocation.
The text was updated successfully, but these errors were encountered: