Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: TElement FormatList(bool, IEnumerable<TElement>)

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

Declaration

public TElement FormatList(
    bool isTuple,
    IEnumerable<TElement> values
)

Summary

Generates an element that represents a list.

Parameters

boolisTuple Specifies whether we are serializing a variable-length list, or a tuple (fixed-length list).
IEnumerable<TElement>values The values to put into list form.

Returns

The serialized list.

Remarks

The returned element should be recognized by IClassifyFormat<TElement>.GetList(TElement, int?).