Пример #1
0
 public TargetDocument(Uri uri, DokumentType dokumentType, int year, int number)
 {
     DokumentType = dokumentType;
     Year         = year;
     Number       = number;
     Source       = XDocument.Load(uri.ToString());
 }
Пример #2
0
 public TargetDocument(FileInfo source, DokumentType dokumentType, int year, int number)
 {
     _source      = source;
     DokumentType = dokumentType;
     Year         = year;
     Number       = number;
     Source       = XDocument.Load(source.FullName);
 }