Class AlertLevel
Class to act like an enum, that holds different values.
This class specifies the alert level.
Inheritance
System.Object
AlertLevel
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: WebApplication.dll
Syntax
[Serializable]
public sealed class AlertLevel
Fields
|
Improve this Doc
View Source
Danger
Declaration
public static readonly AlertLevel Danger
Field Value
|
Improve this Doc
View Source
Dark
Declaration
public static readonly AlertLevel Dark
Field Value
|
Improve this Doc
View Source
Info
Declaration
public static readonly AlertLevel Info
Field Value
|
Improve this Doc
View Source
Light
Declaration
public static readonly AlertLevel Light
Field Value
|
Improve this Doc
View Source
None
Declaration
public static readonly AlertLevel None
Field Value
|
Improve this Doc
View Source
Primary
Declaration
public static readonly AlertLevel Primary
Field Value
|
Improve this Doc
View Source
Secondary
Declaration
public static readonly AlertLevel Secondary
Field Value
|
Improve this Doc
View Source
Success
Declaration
public static readonly AlertLevel Success
Field Value
|
Improve this Doc
View Source
Warning
Declaration
public static readonly AlertLevel Warning
Field Value
Methods
|
Improve this Doc
View Source
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.Object.Equals(System.Object)
|
Improve this Doc
View Source
Equals(AlertLevel)
Declaration
public bool Equals(AlertLevel other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.Object.GetHashCode()
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()
Operators
|
Improve this Doc
View Source
Equality(AlertLevel, AlertLevel)
Declaration
public static bool operator ==(AlertLevel a, AlertLevel b)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Explicit(String to AlertLevel)
Declaration
public static explicit operator AlertLevel(string str)
Parameters
Type |
Name |
Description |
System.String |
str |
|
Returns
|
Improve this Doc
View Source
Inequality(AlertLevel, AlertLevel)
Declaration
public static bool operator !=(AlertLevel a, AlertLevel b)
Parameters
Returns
Type |
Description |
System.Boolean |
|