Skip to content

ActionFormats

Static class in Oadm.Sdk.Actions · Oadm.Sdk.dll

The checks of ActionFieldFormat, shared by the server and the forms of the client.

public static class ActionFormats
static bool IsHost(string host)

A host name or IP address. Uri.CheckHostName takes 999.1.1.1 for a name, so a last part of digits is refused.

static string? Problem(ActionFieldFormat format, string value)

The error of a value in format; null when it fits.

const string EnterEmail = "Enter an email address."

The error of an empty or wrong email address.

const string EnterEmailList = "Enter email addresses separated by commas."

The error of a wrong list of email addresses.

const string EnterFixedUrl = "Enter a fixed URL, without placeholders."

The error of a URL with a placeholder.

const string EnterHost = "Enter a host name or IP address."

The error of an empty or wrong host.

const string EnterOpcEndpoint = "Enter an address that starts with opc.tcp://."

The error of an address that is not opc.tcp://.

const string EnterUrl = "Enter a URL that starts with http:// or https://."

The error of a URL that is not http:// or https://.

const string EnterUrlWithoutLogin = "Enter a URL without a user name or password."

The error of a URL with a user name or password in it.

const string EnterUrlWithoutSpaces = "Enter a URL without spaces."

The error of a URL with a space.