Gallio.Ambience
The Ambience client accesses shared data provided by a remote . This is a and so cannot be inherited or instantiated.
Gets the client's data container.
Thrown if the client has been disposed
Connects the client to the remote server.
The client configuration
Thrown if is null
Thrown if the operation failed
Determines whether the specified is equal to the current .
true if the specified is equal to the current ; otherwise, false.
Provides configuration data for .
Gets or sets the Ambient server username and password.
The username and password, defaults to an anonymous credential.
Thrown if is null
Gets or sets the Ambient server hostname.
The hostname, defaults to "localhost".
Thrown if is null
Thrown if is empty
Gets or sets the Ambient server port number.
The port number, defaults to 7822.
Thrown if the port number is not in the range 1..65535
Describes a problem accessing Gallio Ambience.
Recognizes and processes the <ambience> configuration section.
The name of the Ambience section: "ambience". This field is constant and read-only.
Serves as a hash function for a particular type. is suitable for use in hashing algorithms and data structures like a hash table.
A hash code for the current .
The Ambience server provides shared data to remote s.
Stops and disposes the server.
Stops and disposes the server.
True if disposing
Starts the server.
Thrown if the server has already been started
Thrown if the server has been disposed
Thrown if the operation failed
Stops the server. Does nothing if the server has already been stopped.
Thrown if the server has been disposed
Provides configuration data for .
Gets or sets the Ambient server username and password.
The username and password, defaults to an anonymous credential.
Thrown if is null
Gets or sets the database file path.
The database file path, the default is a file called Default.db in the Gallio.Ambient subdirectory of the Common Application Data folder.
Gets or sets the Ambient server port number.
The port number, defaults to 7822.
Thrown if the port number is not in the range 1..65535
The Ambient object store is a shared lightweight repository for intermediate test data. It is like a persistent whiteboard used to pass information from one test to another or to store it for subsequent analysis.
The Ambient object store may be used to model the persistent state of the testing environment for end-to-end black-box integration testing. It is particularly useful for decoupling tests that incorporate stateful components such as databases (that are not wiped and restored each time) or time-sensitive processes such as asynchronous jobs. This is a and so cannot be inherited or instantiated.
Gets the default ambient data container.
Thrown if the operation failed
Gets or sets the default client configuration.
The default client configuration. The initial value is populated from the contents of the Ambience configuration section in the application's or test's configuration file. See also .
Thrown if is null
Extension methods for LINQ syntax over Ambient data containers. This is a and so cannot be inherited or instantiated.
Obtains a query over a data container.
The result type
The container
The query object
Extension methods for LINQ syntax over Ambient data queries. This is a and so cannot be inherited or instantiated.
Counts the number of objects produced by the query.
The type of object being queried
The query
The number of objects
Produces a new query ordered by a comparison expression in ascending order.
The type of object being queried
The sort key type
The query
The sort comparison expression
The ordered query
Produces a new query ordered by a comparison expression in descending order.
The type of object being queried
The sort key type
The query
The sort comparison expression
The ordered query
Produces a new query to select a projection of a component of another query.
The type of object being queried
The projection result type
The query
The selection expression
The projected query
Produces a new query ordered by an additional comparison expression in ascending order.
The type of object being queried
The sort key type
The query
The sort comparison expression
The ordered query
Produces a new query ordered by an additional comparison expression in descending order.
The type of object being queried
The sort key type
The query
The sort comparison expression
The ordered query
Produces a new query to filter another query by a criteria.
The type of object being queried
The query
The filter expression
The filtered query
Represents a container of Ambient data and providers operations to query, store and update its contents.
Deletes the object from the container.
The object to delete
Thrown if the operation failed
Deletes all objects in the container. (Use with caution!)
Thrown if the operation failed
Gets all objects of a particular type in the container.
The object type
The data set
Thrown if the operation failed
Gets all objects of a particular type in the container that match a particular filtering criteria.
The object type
The filtering criteria
The data set
Thrown if the operation failed
Stores or updates an object in the container.
The object to store
Thrown if the operation failed
Represents a lazily evaluated query over Ambient data for use with the LINQ query syntax.
A data set containing Ambient objects.