Table of Contents

Interface IInputTypeFactory

Namespace
AngleSharp.Html
Assembly
AngleSharp.dll

Represents the interface for producing input validation.

public interface IInputTypeFactory
Extension Methods

Methods

Create(IHtmlInputElement, string)

Creates an input type for the input element.

BaseInputType Create(IHtmlInputElement input, string type)

Parameters

input IHtmlInputElement

The input element.

type string

The name of the type.

Returns

BaseInputType

The new instance of the type or text.