Udostępnij za pośrednictwem


VisibilityConverter Class

Definition

Defines values for Visibility.

public sealed class VisibilityConverter : Newtonsoft.Json.JsonConverter
type VisibilityConverter = class
    inherit JsonConverter
Public NotInheritable Class VisibilityConverter
Inherits JsonConverter
Inheritance
Newtonsoft.Json.JsonConverter
VisibilityConverter

Constructors

VisibilityConverter()

Methods

CanConvert(Type)

Returns if objectType can be converted to Visibility by the converter.

ReadJson(JsonReader, Type, Object, JsonSerializer)

Overrides ReadJson and converts token to Visibility.

WriteJson(JsonWriter, Object, JsonSerializer)

Overriding WriteJson for Visibility for serialization.

Applies to