示例#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;
 }
示例#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;
 }