Class FormDataSetEntry
- Namespace
- AngleSharp.Html.Forms
- Assembly
- AngleSharp.dll
Encapsulates the data contained in an entry.
public abstract class FormDataSetEntry
- Inheritance
-
FormDataSetEntry
- Inherited Members
- Extension Methods
Constructors
FormDataSetEntry(string, string)
Creates a new form data set entry.
public FormDataSetEntry(string name, string type)
Parameters
Properties
HasName
Gets if the name has been given.
public bool HasName { get; }
Property Value
Name
Gets the entry's name.
public string Name { get; }
Property Value
Type
Gets the entry's type.
public string Type { get; }
Property Value
Methods
Accept(IFormDataSetVisitor)
Accepts the provided visitor instance.
public abstract void Accept(IFormDataSetVisitor visitor)
Parameters
visitor
IFormDataSetVisitorThe visitor to accept.
Contains(string, Encoding)
Checks if the provided boundary is already mentioned in the content.
public abstract bool Contains(string boundary, Encoding encoding)
Parameters
Returns
- bool
True if the boundary is matched, otherwise false.