public GetKey ( Context context ) : Converter | ||
context | Context | /// this is the root context for the serialization /// |
return | Converter |
/// <summary> /// Constructor for the <c>CompositeMap</c> object. This will /// create a converter that is capable of writing map objects to /// and from XML. The resulting XML is configured by an annotation /// such that key values can attributes and values can be inline. /// </summary> /// <param name="context"> /// this is the root context for the serialization /// </param> /// <param name="entry"> /// this provides configuration for the resulting XML /// </param> /// <param name="type"> /// this is the map type that is to be converted /// </param> public CompositeInlineMap(Context context, Entry entry, Type type) { this.factory = new MapFactory(context, type); this.value = entry.GetValue(context); this.key = entry.GetKey(context); this.style = context.getStyle(); this.entry = entry; }
/// <summary> /// Constructor for the <c>CompositeMap</c> object. This will /// create a converter that is capable of writing map objects to /// and from XML. The resulting XML is configured by an annotation /// such that key values can attributes and values can be inline. /// </summary> /// <param name="context"> /// this is the root context for the serialization /// </param> /// <param name="entry"> /// this provides configuration for the resulting XML /// </param> /// <param name="type"> /// this is the map type that is to be converted /// </param> public CompositeMap(Context context, Entry entry, Type type) { this.factory = new MapFactory(context, type); this.value = entry.GetValue(context); this.key = entry.GetKey(context); this.style = context.getStyle(); this.entry = entry; }