HttpServer.HttpForm.ContainsFile C# (CSharp) Method

ContainsFile() public method

Checks if the form contains a specified file
If the instance is HttpForm.EmptyForm which cannot be modified
public ContainsFile ( string name ) : bool
name string Field name of the file parameter
return bool
        public bool ContainsFile(string name)
        {
            if (_ignoreChanges)
                throw new InvalidOperationException("Cannot request information from instance HttpForm.EmptyForm.");
            if (string.IsNullOrEmpty(name))
                throw new ArgumentNullException("name");

            return _files.ContainsKey(name);
        }