Пример #1
0
 public DocumentDataContainer(DatiDocumento Document, EDocumentDataReferenceType ReferenceType)
 {
     this.Document      = Document;
     this.ReferenceType = ReferenceType;
 }
Пример #2
0
 private IEnumerable <DocumentDataContainer> CollectionToContainerCollection <T>(List <T> _DocumentDataList, EDocumentDataReferenceType _ReferenceType)
 {
     foreach (T _Document in _DocumentDataList)
     {
         yield return(new DocumentDataContainer((_Document as DatiDocumento), _ReferenceType));
     }
 }