Class MessageBuilder
- Namespace
- Shift.Common
- Assembly
- Shift.Common.dll
public class MessageBuilder
- Inheritance
-
MessageBuilder
- Inherited Members
-
- Extension Methods
-
Constructors
MessageBuilder()
Properties
ErrorCount
public int ErrorCount { get; }
Property Value
- int
Errors
public IEnumerable<string> Errors { get; }
Property Value
- IEnumerable<string>
HasError
public bool HasError { get; }
Property Value
- bool
HasImportantError
public bool HasImportantError { get; }
Property Value
- bool
public bool HasImportantInformation { get; }
Property Value
- bool
HasImportantWarning
public bool HasImportantWarning { get; }
Property Value
- bool
public bool HasInformation { get; }
Property Value
- bool
HasWarning
public bool HasWarning { get; }
Property Value
- bool
ImportantErrorCount
public int ImportantErrorCount { get; }
Property Value
- int
ImportantErrors
public IEnumerable<string> ImportantErrors { get; }
Property Value
- IEnumerable<string>
public int ImportantInformationCount { get; }
Property Value
- int
public IEnumerable<string> ImportantInformations { get; }
Property Value
- IEnumerable<string>
ImportantWarningCount
public int ImportantWarningCount { get; }
Property Value
- int
ImportantWarnings
public IEnumerable<string> ImportantWarnings { get; }
Property Value
- IEnumerable<string>
public int InformationCount { get; }
Property Value
- int
public IEnumerable<string> Informations { get; }
Property Value
- IEnumerable<string>
IsEmpty
public bool IsEmpty { get; }
Property Value
- bool
WarningCount
public int WarningCount { get; }
Property Value
- int
Warnings
public IEnumerable<string> Warnings { get; }
Property Value
- IEnumerable<string>
Methods
AddError(string, params object[])
public void AddError(string format, params object[] args)
Parameters
format string
args object[]
AddImportantError(string, params object[])
public void AddImportantError(string format, params object[] args)
Parameters
format string
args object[]
public void AddImportantInformation(string format, params object[] args)
Parameters
format string
args object[]
AddImportantWarning(string, params object[])
public void AddImportantWarning(string format, params object[] args)
Parameters
format string
args object[]
public void AddInformation(string format, params object[] args)
Parameters
format string
args object[]
AddWarning(string, params object[])
public void AddWarning(string format, params object[] args)
Parameters
format string
args object[]
WriteErrors(StringBuilder, int, params Category[])
public void WriteErrors(StringBuilder html, int maxItems, params MessageBuilder.Category[] categories)
Parameters
html StringBuilder
maxItems int
categories Category[]
WriteHtml(StringBuilder, int, params Category[])
public void WriteHtml(StringBuilder html, int maxItems, params MessageBuilder.Category[] categories)
Parameters
html StringBuilder
maxItems int
categories Category[]
WriteImportantErrors(StringBuilder, int)
public void WriteImportantErrors(StringBuilder html, int maxItems)
Parameters
html StringBuilder
maxItems int
WriteImportantInformation(StringBuilder, int)
public void WriteImportantInformation(StringBuilder html, int maxItems)
Parameters
html StringBuilder
maxItems int
WriteImportantWarnings(StringBuilder, int)
public void WriteImportantWarnings(StringBuilder html, int maxItems)
Parameters
html StringBuilder
maxItems int
WriteInformation(StringBuilder, int)
public void WriteInformation(StringBuilder html, int maxItems)
Parameters
html StringBuilder
maxItems int
WriteWarnings(StringBuilder, int)
public void WriteWarnings(StringBuilder html, int maxItems)
Parameters
html StringBuilder
maxItems int