ReadServiceObjectsCollectionFromXml<TServiceObject extends ServiceObject> method

Future<List<TServiceObject>> ReadServiceObjectsCollectionFromXml<TServiceObject extends ServiceObject>(
  1. String collectionXmlElementName,
  2. IGetObjectInstanceDelegate<TServiceObject> getObjectInstanceDelegate,
  3. bool clearPropertyBag,
  4. PropertySet? requestedPropertySet,
  5. bool summaryPropertiesOnly,
)
Reads the service objects collection from XML. Name of the collection XML element. The get object instance delegate. if set to [clear property bag]. The requested property set. if set to [summary properties only].

Implementation

Future<List<TServiceObject>>
ReadServiceObjectsCollectionFromXml<TServiceObject extends ServiceObject>(
  String collectionXmlElementName,
  IGetObjectInstanceDelegate<TServiceObject> getObjectInstanceDelegate,
  bool clearPropertyBag,
  PropertySet? requestedPropertySet,
  bool summaryPropertiesOnly,
) async {
  return ReadServiceObjectsCollectionFromXmlWithNamespace<TServiceObject>(
    XmlNamespace.Messages,
    collectionXmlElementName,
    getObjectInstanceDelegate,
    clearPropertyBag,
    requestedPropertySet,
    summaryPropertiesOnly,
  );
}