Show / Hide Table of Contents

Class PropertyMap

Inheritance
System.Object
System.Collections.Generic.Dictionary<System.String, System.String>
PropertyMap
Implements
System.Collections.Generic.IDictionary<System.String, System.String>
System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String, System.String>>
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String, System.String>>
System.Collections.IDictionary
System.Collections.ICollection
System.Collections.IEnumerable
System.Runtime.Serialization.ISerializable
System.Runtime.Serialization.IDeserializationCallback
Inherited Members
System.Collections.Generic.Dictionary<System.String, System.String>.Add(System.String, System.String)
System.Collections.Generic.Dictionary<System.String, System.String>.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String, System.String>>.Add(System.Collections.Generic.KeyValuePair<System.String, System.String>)
System.Collections.Generic.Dictionary<System.String, System.String>.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String, System.String>>.Contains(System.Collections.Generic.KeyValuePair<System.String, System.String>)
System.Collections.Generic.Dictionary<System.String, System.String>.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String, System.String>>.Remove(System.Collections.Generic.KeyValuePair<System.String, System.String>)
System.Collections.Generic.Dictionary<System.String, System.String>.Clear()
System.Collections.Generic.Dictionary<System.String, System.String>.ContainsKey(System.String)
System.Collections.Generic.Dictionary<System.String, System.String>.ContainsValue(System.String)
System.Collections.Generic.Dictionary<System.String, System.String>.GetEnumerator()
System.Collections.Generic.Dictionary<System.String, System.String>.System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String, System.String>>.GetEnumerator()
System.Collections.Generic.Dictionary<System.String, System.String>.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Collections.Generic.Dictionary<System.String, System.String>.OnDeserialization(System.Object)
System.Collections.Generic.Dictionary<System.String, System.String>.Remove(System.String)
System.Collections.Generic.Dictionary<System.String, System.String>.TryGetValue(System.String, System.String)
System.Collections.Generic.Dictionary<System.String, System.String>.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String, System.String>>.CopyTo(System.Collections.Generic.KeyValuePair<System.String, System.String>[], System.Int32)
System.Collections.Generic.Dictionary<System.String, System.String>.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
System.Collections.Generic.Dictionary<System.String, System.String>.System.Collections.IEnumerable.GetEnumerator()
System.Collections.Generic.Dictionary<System.String, System.String>.System.Collections.IDictionary.get_Item(System.Object)
System.Collections.Generic.Dictionary<System.String, System.String>.System.Collections.IDictionary.set_Item(System.Object, System.Object)
System.Collections.Generic.Dictionary<System.String, System.String>.System.Collections.IDictionary.Add(System.Object, System.Object)
System.Collections.Generic.Dictionary<System.String, System.String>.System.Collections.IDictionary.Contains(System.Object)
System.Collections.Generic.Dictionary<System.String, System.String>.System.Collections.IDictionary.GetEnumerator()
System.Collections.Generic.Dictionary<System.String, System.String>.System.Collections.IDictionary.Remove(System.Object)
System.Collections.Generic.Dictionary<System.String, System.String>.Comparer
System.Collections.Generic.Dictionary<System.String, System.String>.Count
System.Collections.Generic.Dictionary<System.String, System.String>.Keys
System.Collections.Generic.Dictionary<System.String, System.String>.System.Collections.Generic.IDictionary<System.String, System.String>.Keys
System.Collections.Generic.Dictionary<System.String, System.String>.Values
System.Collections.Generic.Dictionary<System.String, System.String>.System.Collections.Generic.IDictionary<System.String, System.String>.Values
System.Collections.Generic.Dictionary<System.String, System.String>.Item[System.String]
System.Collections.Generic.Dictionary<System.String, System.String>.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String, System.String>>.IsReadOnly
System.Collections.Generic.Dictionary<System.String, System.String>.System.Collections.ICollection.IsSynchronized
System.Collections.Generic.Dictionary<System.String, System.String>.System.Collections.ICollection.SyncRoot
System.Collections.Generic.Dictionary<System.String, System.String>.System.Collections.IDictionary.IsFixedSize
System.Collections.Generic.Dictionary<System.String, System.String>.System.Collections.IDictionary.IsReadOnly
System.Collections.Generic.Dictionary<System.String, System.String>.System.Collections.IDictionary.Keys
System.Collections.Generic.Dictionary<System.String, System.String>.System.Collections.IDictionary.Values
System.Collections.Generic.Dictionary<System.String, System.String>.System.Collections.IDictionary.Item[System.Object]
System.Object.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Avro
Assembly: Avro.dll
Syntax
public class PropertyMap : Dictionary<string, string>, IDictionary<string, string>, ICollection<KeyValuePair<string, string>>, IEnumerable<KeyValuePair<string, string>>, IDictionary, ICollection, IEnumerable, ISerializable, IDeserializationCallback

Methods

| Improve this Doc View Source

Equals(Object)

Function to compare equality of two PropertyMaps

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
System.Object obj

other PropertyMap

Returns
Type Description
System.Boolean

true if contents of the two maps are the same, false otherwise

Overrides
System.Object.Equals(System.Object)
| Improve this Doc View Source

GetHashCode()

Hashcode function

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32
Overrides
System.Object.GetHashCode()
| Improve this Doc View Source

Parse(JToken)

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

Declaration
public void Parse(JToken jtok)
Parameters
Type Name Description
Newtonsoft.Json.Linq.JToken jtok

JSON object to prase

| Improve this Doc View Source

Set(String, String)

Adds a custom property to the schema

Declaration
public void Set(string key, string value)
Parameters
Type Name Description
System.String key

custom property name

System.String value

custom property value

| Improve this Doc View Source

WriteJson(JsonTextWriter)

Writes the schema's custom properties in JSON format

Declaration
public void WriteJson(JsonTextWriter writer)
Parameters
Type Name Description
Newtonsoft.Json.JsonTextWriter writer

JSON writer

Implements

System.Collections.Generic.IDictionary<TKey, TValue>
System.Collections.Generic.ICollection<T>
System.Collections.Generic.IEnumerable<T>
System.Collections.IDictionary
System.Collections.ICollection
System.Collections.IEnumerable
System.Runtime.Serialization.ISerializable
System.Runtime.Serialization.IDeserializationCallback
  • Improve this Doc
  • View Source
Back to top Copyright © 2012 The Apache Software Foundation.