コード例 #1
0
 /// <summary>
 /// Constructs a new <see cref="StandardSopFrameData"/>.
 /// </summary>
 /// <param name="frameNumber">The 1-based number of this frame.</param>
 /// <param name="parent">The parent <see cref="ISopDataSource"/> that this frame belongs to.</param>
 /// <param name="regenerationCost">The approximate cost to regenerate the pixel and/or overlay data.</param>
 /// <exception cref="ArgumentNullException">Thrown if <paramref name="parent"/> is null.</exception>
 /// <exception cref="ArgumentOutOfRangeException">Thrown if <paramref name="frameNumber"/> is zero or negative.</exception>
 protected StandardSopFrameData(int frameNumber, StandardSopDataSource parent, RegenerationCost regenerationCost)
     : base(frameNumber, parent)
 {
     _largeObjectContainerData.RegenerationCost = regenerationCost;
 }
コード例 #2
0
 /// <summary>
 /// Constructs a new <see cref="StandardSopFrameData"/>
 /// </summary>
 /// <param name="frameNumber">The 1-based number of this frame.</param>
 /// <param name="parent">The parent <see cref="ISopDataSource"/> that this frame belongs to.</param>
 /// <exception cref="ArgumentNullException">Thrown if <paramref name="parent"/> is null.</exception>
 /// <exception cref="ArgumentOutOfRangeException">Thrown if <paramref name="frameNumber"/> is zero or negative.</exception>
 protected StandardSopFrameData(int frameNumber, StandardSopDataSource parent)
     : this(frameNumber, parent, RegenerationCost.Medium)
 {
 }