C# Class AcTools.Utils.Helpers.JsonSerializationExtension

Datei anzeigen Open project: gro-ove/actools

Public Methods

Method Description
Write ( this writer, string key, System.DateTime value ) : void
Write ( this writer, string key, Enum value ) : void
Write ( this writer, string key, System.TimeSpan value ) : void
Write ( this writer, string key, bool value ) : void
Write ( this writer, string key, double value ) : void
Write ( this writer, string key, int value ) : void
Write ( this writer, string key, string value ) : void
WriteNonDefault ( this writer, string key, bool value ) : void
WriteNonDefault ( this writer, string key, double value, string format = null ) : void
WriteNonDefault ( this writer, string key, int value ) : void

Method Details

Write() public static method

public static Write ( this writer, string key, System.DateTime value ) : void
writer this
key string
value System.DateTime
return void

Write() public static method

public static Write ( this writer, string key, Enum value ) : void
writer this
key string
value System.Enum
return void

Write() public static method

public static Write ( this writer, string key, System.TimeSpan value ) : void
writer this
key string
value System.TimeSpan
return void

Write() public static method

public static Write ( this writer, string key, bool value ) : void
writer this
key string
value bool
return void

Write() public static method

public static Write ( this writer, string key, double value ) : void
writer this
key string
value double
return void

Write() public static method

public static Write ( this writer, string key, int value ) : void
writer this
key string
value int
return void

Write() public static method

public static Write ( this writer, string key, string value ) : void
writer this
key string
value string
return void

WriteNonDefault() public static method

public static WriteNonDefault ( this writer, string key, bool value ) : void
writer this
key string
value bool
return void

WriteNonDefault() public static method

public static WriteNonDefault ( this writer, string key, double value, string format = null ) : void
writer this
key string
value double
format string
return void

WriteNonDefault() public static method

public static WriteNonDefault ( this writer, string key, int value ) : void
writer this
key string
value int
return void