public TargetDocument(Uri uri, DokumentType dokumentType, int year, int number) { DokumentType = dokumentType; Year = year; Number = number; Source = XDocument.Load(uri.ToString()); }
public TargetDocument(FileInfo source, DokumentType dokumentType, int year, int number) { _source = source; DokumentType = dokumentType; Year = year; Number = number; Source = XDocument.Load(source.FullName); }