Class SteamAnswerText
The words a failure message uses for what Steam answered with, so an answer that said nothing reads as "the answer was empty" instead of a sentence that stops after its colon.
Inherited Members
Namespace: Serenity.Steam.Infrastructure
Assembly: Serenity.Steam.Infrastructure.dll
Syntax
public static class SteamAnswerText
Fields
EmptyAnswerText
What a failure message says when Steam's answer had no body.
Declaration
public const string EmptyAnswerText = "the answer was empty"
Field Value
| Type | Description |
|---|---|
| string |
Methods
Describe(string, int)
The body of an answer, shortened to maxLength, or EmptyAnswerText when it has none.
Declaration
public static string Describe(string body, int maxLength)
Parameters
| Type | Name | Description |
|---|---|---|
| string | body | The answer's body. May be null. |
| int | maxLength | The most characters of the body to keep. |
Returns
| Type | Description |
|---|---|
| string |