Edit

Share via


IParser<T> Interface

Definition

Caution

Parsing code has been deprecated, we suggest using Markdig. See https://github.com/windows-toolkit/WindowsCommunityToolkit/issues/3200 for more info.

Caution

Parsing code has been deprecated, we suggest using Markdig. See https://github.com/CommunityToolkit/WindowsCommunityToolkit/issues/3200 for more info.

Parser interface.

public interface IParser<out T> where T : SchemaBase
[System.Obsolete("Parsing code has been deprecated, we suggest using Markdig. See https://github.com/windows-toolkit/WindowsCommunityToolkit/issues/3200 for more info.")]
public interface IParser<out T> where T : SchemaBase
[System.Obsolete("Parsing code has been deprecated, we suggest using Markdig. See https://github.com/CommunityToolkit/WindowsCommunityToolkit/issues/3200 for more info.")]
public interface IParser<out T> where T : SchemaBase
type IParser<'T (requires 'T :> SchemaBase)> = interface
[<System.Obsolete("Parsing code has been deprecated, we suggest using Markdig. See https://github.com/windows-toolkit/WindowsCommunityToolkit/issues/3200 for more info.")>]
type IParser<'T (requires 'T :> SchemaBase)> = interface
[<System.Obsolete("Parsing code has been deprecated, we suggest using Markdig. See https://github.com/CommunityToolkit/WindowsCommunityToolkit/issues/3200 for more info.")>]
type IParser<'T (requires 'T :> SchemaBase)> = interface
Public Interface IParser(Of Out T)

Type Parameters

T

Type to parse into.

This type parameter is covariant. That is, you can use either the type you specified or any type that is more derived. For more information about covariance and contravariance, see Covariance and Contravariance in Generics.
Derived
Attributes

Methods

Parse(String)

Parse method which all classes must implement.

Applies to