Bracket.RackEnvironmentVariables.CustomVariableName C# (CSharp) Метод

CustomVariableName() публичный статический Метод

The server or the application can store their own data in the environment, too. The keys must contain at least one dot, and should be prefixed uniquely. The prefix rack. is reserved for use with the Rack core distribution and other accepted specifications and must not be used otherwise.
public static CustomVariableName ( string prefix, string name ) : string
prefix string
name string
Результат string
        public static string CustomVariableName(string prefix,string name)
        {
            if (prefix == "rack")
                throw new ArgumentException(
                    "The 'rack' prefix is reserved for use with the Rack core distribution and other accepted specifications.");
            return String.Format("{0}.{1}", prefix, name);
        }
RackEnvironmentVariables