Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: TElement FormatObject(IEnumerable<ObjectFieldInfo<TElement>>)

  • Declared in: RT.Serialization.IClassifyFormat<TElement>
  • Interface method
  • Abstract

Declaration

public TElement FormatObject(
    IEnumerable<ObjectFieldInfo<TElement>> fields
)

Summary

Generates an element that represents an object with fields.

Parameters

IEnumerable<ObjectFieldInfo<TElement>>fields A collection of objects containing each fields’ identifying information and serialized value.

Returns

The serialized object.

Remarks

The returned element should be recognized by IClassifyFormat<TElement>.HasField(TElement, string, string) and IClassifyFormat<TElement>.GetField(TElement, string, string), irrespective of the order in which the fields are provided in fields.