Methods

If a specification context is given, it is used and set as the ambient specification context. Otherwise, if an ambient specification context exists, that context is used. Otherwise, a new specification context is created and set as the ambient specification context. In this case, when the scope is disposed, the created context is disposed as well.