C# Class Example.Car

Inheritance: IJSONSerializable
Exibir arquivo Open project: jabb/IronJSON Class Usage Examples

Public Properties

Property Type Description
color string
name string
wheels int

Public Methods

Method Description
Car ( string name, string color, int wheels, string owner ) : System
JSONDeserialize ( JSONDeserializer deser ) : void
JSONSerialize ( JSONSerializer ser ) : void

Method Details

Car() public method

public Car ( string name, string color, int wheels, string owner ) : System
name string
color string
wheels int
owner string
return System

JSONDeserialize() public method

public JSONDeserialize ( JSONDeserializer deser ) : void
deser IronJSON.JSONDeserializer
return void

JSONSerialize() public method

public JSONSerialize ( JSONSerializer ser ) : void
ser IronJSON.JSONSerializer
return void

Property Details

color public_oe property

public string color
return string

name public_oe property

public string name
return string

wheels public_oe property

public int wheels
return int