Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: IEnumerable<TElement> GetList(TElement, int?)

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

Declaration

public IEnumerable<TElement> GetList(
    TElement element,
    int? tupleSize
)

Summary

Decodes a list.

Parameters

TElementelement The element to decode.
int?tupleSize If null, a variable-length list is expected; otherwise, a fixed-length list (a tuple) is expected.

Returns

A collection containing the sub-elements contained in the list. The collection returned need not have the size specified by tupleSize.

Remarks

This should do the reverse of IClassifyFormat<TElement>.FormatList(bool, IEnumerable<TElement>).