OpenApiDateTime Class
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.
Open API Datetime
public class OpenApiDateTime : Microsoft.OpenApi.Any.OpenApiPrimitive<DateTimeOffset>
type OpenApiDateTime = class
inherit OpenApiPrimitive<DateTimeOffset>
Public Class OpenApiDateTime
Inherits OpenApiPrimitive(Of DateTimeOffset)
- Inheritance
Constructors
OpenApiDateTime(DateTimeOffset) |
Initializes the OpenApiDateTime class. |
Properties
AnyType |
The kind of IOpenApiAny. (Inherited from OpenApiPrimitive<T>) |
PrimitiveType |
Primitive type this object represents. |
Value |
Value of this IOpenApiPrimitive (Inherited from OpenApiPrimitive<T>) |
Methods
Write(IOpenApiWriter, OpenApiSpecVersion) |
Write out content of primitive element (Inherited from OpenApiPrimitive<T>) |
Extension Methods
Validate(IOpenApiElement, ValidationRuleSet) |
Validate element and all child elements |