public static Picture CreateFromFile (File.IFileAbstraction abstraction) { return new Picture (abstraction); }
public Picture (File.IFileAbstraction abstraction) { if (abstraction == null) throw new ArgumentNullException ("abstraction"); Data = ByteVector.FromFile (abstraction); FillInMimeFromData (); Description = abstraction.Name; }