CoverageDatabase Class
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Represents a coverage database file. This class and its members are reserved for internal use and are not intended to be used in your code.
Inheritance Hierarchy
Object
Microsoft.VisualStudio.Coverage.Analysis.Database.CoverageDatabase
Namespace: Microsoft.VisualStudio.Coverage.Analysis.Database
Assembly: Microsoft.VisualStudio.Coverage.Analysis (in Microsoft.VisualStudio.Coverage.Analysis.dll)
Syntax
'Declaration
Public Class CoverageDatabase _
Implements IDisposable
public class CoverageDatabase : IDisposable
public ref class CoverageDatabase : IDisposable
type CoverageDatabase =
class
interface IDisposable
end
public class CoverageDatabase implements IDisposable
The CoverageDatabase type exposes the following members.
Methods
Name | Description | |
---|---|---|
AddConstraints | Adds the constraints to the database. This class and its members are reserved for internal use and are not intended to be used in your code. | |
AddModule | Adds a module to the database by using the provided parameters. This class and its members are reserved for internal use and are not intended to be used in your code. | |
Create(String) | Creates and populates a coverage database from the specified file. This class and its members are reserved for internal use and are not intended to be used in your code. | |
Create(String, Boolean) | Creates and populates a coverage database from the specified file and optionally adds the constraints. This class and its members are reserved for internal use and are not intended to be used in your code. | |
CreateFromCoverage(String, String) | Creates a new coverage database file by using the provided path of the coverage file and the provided database file path. | |
CreateFromCoverage(String, IEnumerable<String>, IEnumerable<String>, String) | Creates a new coverage database file by using the provided parameters. This class and its members are reserved for internal use and are not intended to be used in your code. | |
Dispose | Releases all resources that are used by the CoverageDatabase. This class and its members are reserved for internal use and are not intended to be used in your code. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetModules | Gets a list of all modules in the coverage database. This class and its members are reserved for internal use and are not intended to be used in your code. | |
GetTests | Gets a list of all tests in the coverage database. This class and its members are reserved for internal use and are not intended to be used in your code. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsDatabaseFile | Determines whether the specified file is a database file. This class and its members are reserved for internal use and are not intended to be used in your code. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.