Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PhotoResize"/> class.
 /// </summary>
 /// <param name="element">
 /// The element.
 /// </param>
 public PhotoResize(IPhotoResize element)
 {
     Name = element.Name;
     Width = element.Width;
     Height = element.Height;
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PhotoResize"/> class.
 /// </summary>
 /// <param name="element">
 /// The element.
 /// </param>
 public PhotoResize(IPhotoResize element)
 {
     Name   = element.Name;
     Width  = element.Width;
     Height = element.Height;
 }