OpenApiStringReader.ReadFragment<T> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public T ReadFragment<T> (string input, Microsoft.OpenApi.OpenApiSpecVersion version, out Microsoft.OpenApi.Readers.OpenApiDiagnostic diagnostic) where T : Microsoft.OpenApi.Interfaces.IOpenApiElement;
member this.ReadFragment : string * Microsoft.OpenApi.OpenApiSpecVersion * OpenApiDiagnostic -> 'T (requires 'T :> Microsoft.OpenApi.Interfaces.IOpenApiElement)
Public Function ReadFragment(Of T As IOpenApiElement) (input As String, version As OpenApiSpecVersion, ByRef diagnostic As OpenApiDiagnostic) As T
Type Parameters
- T
Parameters
- input
- String
- version
- OpenApiSpecVersion
- diagnostic
- OpenApiDiagnostic
Returns
T