Enum ProtoResourceScope
How long an owned resource lives.
public enum ProtoResourceScope
- Extension Methods
Fields
Run = 1Owned by the whole run and released when the host is disposed, after the run has stopped and the reports are written - for infrastructure a suite starts once, such as a database container.
Test = 0Owned by one test and released when that test ends, before its clients are disposed.