Avro C#
 All Classes Namespaces Functions Variables Enumerations Properties
Public Member Functions | List of all members
Avro.PropertyMap Class Reference
Inheritance diagram for Avro.PropertyMap:

Public Member Functions

void Parse (JToken jtok)
 Parses the custom properties from the given JSON object and stores them into the schema's list of custom properties More...
 
void Set (string key, string value)
 Adds a custom property to the schema More...
 
void WriteJson (JsonTextWriter writer)
 Writes the schema's custom properties in JSON format More...
 
override bool Equals (object obj)
 Function to compare equality of two PropertyMaps More...
 
override int GetHashCode ()
 Hashcode function More...
 

Member Function Documentation

override bool Avro.PropertyMap.Equals ( object  obj)
inline

Function to compare equality of two PropertyMaps

Parameters
objother PropertyMap
Returns
true if contents of the two maps are the same, false otherwise
override int Avro.PropertyMap.GetHashCode ( )
inline

Hashcode function

Returns
void Avro.PropertyMap.Parse ( JToken  jtok)
inline

Parses the custom properties from the given JSON object and stores them into the schema's list of custom properties

Parameters
jtokJSON object to prase
void Avro.PropertyMap.Set ( string  key,
string  value 
)
inline

Adds a custom property to the schema

Parameters
keycustom property name
valuecustom property value
void Avro.PropertyMap.WriteJson ( JsonTextWriter  writer)
inline

Writes the schema's custom properties in JSON format

Parameters
writerJSON writer

The documentation for this class was generated from the following file: