InspectCodeSeverity Enum

Summary

Represents InspectCode's minimal severity report.
Namespace
Cake.Common.Tools.InspectCode
Interfaces
  • IComparable
  • IFormattable
  • IConvertible
Base Types
  • object
  • ValueType
  • Enum
graph BT Type-->Base0["Enum"] Base0-->Base1["ValueType"] Base1-->Base2["object"] Type-.->Interface0["IComparable"] Type-.->Interface1["IFormattable"] Type-.->Interface2["IConvertible"] Type["InspectCodeSeverity"] class Type type-node

Syntax

public enum InspectCodeSeverity

Fields

Name Constant Value Summary
Error 5
Severity: ERROR.
static
Hint 2
Severity: HINT.
static
Info 1
Severity: INFO.
static
Suggestion 3
Severity: SUGGESTION.
static
Warning 4
Severity: WARNING.
static

Extension Methods

Name Value Summary
Dump<InspectCodeSeverity>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<InspectCodeSeverity>(InspectCodeSeverity[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
ThrowIfNull<InspectCodeSeverity>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<InspectCodeSeverity>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin