OpenCoverSettingsExtensions Class

Summary

Contains extensions for OpenCoverSettings.
Namespace
Cake.Common.Tools.OpenCover
Base Types
  • object
graph BT Type-->Base0["object"] Type["OpenCoverSettingsExtensions"] class Type type-node

Syntax

public static class OpenCoverSettingsExtensions

Methods

Name Value Summary
ExcludeByAttribute(OpenCoverSettings, string) OpenCoverSettings
Exclude a class or method by filter that match attributes that have been applied.
static
ExcludeByFile(OpenCoverSettings, string) OpenCoverSettings
Exclude a class (or methods) by filter that match the filenames.
static
WithFilter(OpenCoverSettings, string) OpenCoverSettings
Adds the filter.
static
WithoutRegister(OpenCoverSettings) OpenCoverSettings
Sets the register-option to "none".
static
WithRegisterAdmin(OpenCoverSettings) OpenCoverSettings
Sets the register-option to admin-registry-access.
static
WithRegisterDll(OpenCoverSettings, FilePath) OpenCoverSettings
Sets the register-option to dll-registration (i.e no registry-access).
static
WithRegisterUser(OpenCoverSettings) OpenCoverSettings
Sets the register-option to user-registry-access.
static

Extension Methods

Name Value Summary
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin