Show / Hide Table of Contents

Class KubernetesJson.Iso8601TimeSpanConverter

Inheritance
object
JsonConverter
JsonConverter<TimeSpan>
KubernetesJson.Iso8601TimeSpanConverter
Inherited Members
JsonConverter<TimeSpan>.CanConvert(Type)
JsonConverter<TimeSpan>.ReadAsPropertyName(ref Utf8JsonReader, Type, JsonSerializerOptions)
JsonConverter<TimeSpan>.WriteAsPropertyName(Utf8JsonWriter, TimeSpan, JsonSerializerOptions)
JsonConverter<TimeSpan>.HandleNull
JsonConverter<TimeSpan>.Type
object.GetType()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: k8s
Assembly: KubernetesClient.dll
Syntax
public sealed class KubernetesJson.Iso8601TimeSpanConverter : JsonConverter<TimeSpan>

Constructors

View Source

Iso8601TimeSpanConverter()

Declaration
public Iso8601TimeSpanConverter()

Methods

View Source

Read(ref Utf8JsonReader, Type, JsonSerializerOptions)

Declaration
public override TimeSpan Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Parameters
Type Name Description
Utf8JsonReader reader
Type typeToConvert
JsonSerializerOptions options
Returns
Type Description
TimeSpan
Overrides
JsonConverter<TimeSpan>.Read(ref Utf8JsonReader, Type, JsonSerializerOptions)
View Source

Write(Utf8JsonWriter, TimeSpan, JsonSerializerOptions)

Declaration
public override void Write(Utf8JsonWriter writer, TimeSpan value, JsonSerializerOptions options)
Parameters
Type Name Description
Utf8JsonWriter writer
TimeSpan value
JsonSerializerOptions options
Overrides
JsonConverter<TimeSpan>.Write(Utf8JsonWriter, TimeSpan, JsonSerializerOptions)
  • View Source
In this article
Back to top Generated by DocFX