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.
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.