API ReferenceFacepunch.ActionGraphs
ValidationMessageclass
A message generated during validation with a context, level, and value.
object→ValidationMessage
Constructors1
Showing 1 constructors
public ValidationMessage(Facepunch.ActionGraphs.IMessageContext Context, Facepunch.ActionGraphs.MessageLevel Level, string Value, object UserData = null)
A message generated during validation with a context, level, and value.
| Parameter | Type | Description |
|---|---|---|
| Context | IMessageContext | Action graph element most relevant to this message. |
| Level | MessageLevel | Severity of the message. |
| Value | string | Message content. |
| UserData = null | object | — |
No results match this filter.
Methods1
Showing 1 methods
public void Deconstruct(Facepunch.ActionGraphs.IMessageContext Context, Facepunch.ActionGraphs.MessageLevel Level, string Value, object UserData)
| Parameter | Type | Description |
|---|---|---|
| Context | IMessageContext | — |
| Level | MessageLevel | — |
| Value | string | — |
| UserData | object | — |
Returns:
void—No results match this filter.
Properties5
Showing 5 properties
public Facepunch.ActionGraphs.IMessageContext Facepunch.ActionGraphs.ValidationMessage.Context { get; set; }
Action graph element most relevant to this message.
public bool Facepunch.ActionGraphs.ValidationMessage.IsError { get; set; }
If true, this message was a cause for the action graph to fail validation.
Returns:
bool—public Facepunch.ActionGraphs.MessageLevel Facepunch.ActionGraphs.ValidationMessage.Level { get; set; }
Severity of the message.
public object Facepunch.ActionGraphs.ValidationMessage.UserData { get; set; }
Returns:
object—public string Facepunch.ActionGraphs.ValidationMessage.Value { get; set; }
Message content.
Returns:
string—No results match this filter.