예제 #1
0
			/// <summary>
			/// Constructs a new <see cref="AsyncSopFrameData"/>.
			/// </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 AsyncSopFrameData(int frameNumber, AsyncSopDataSource parent, RegenerationCost regenerationCost)
				: base(frameNumber, parent)
			{
				_largeObjectContainerData.RegenerationCost = regenerationCost;
			}
예제 #2
0
 /// <summary>
 /// Constructs a new <see cref="AsyncSopFrameData"/>.
 /// </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 AsyncSopFrameData(int frameNumber, AsyncSopDataSource parent, RegenerationCost regenerationCost)
     : base(frameNumber, parent)
 {
     _largeObjectContainerData.RegenerationCost = regenerationCost;
 }
예제 #3
0
			/// <summary>
			/// Constructs a new <see cref="AsyncSopFrameData"/>
			/// </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 AsyncSopFrameData(int frameNumber, AsyncSopDataSource parent)
				: this(frameNumber, parent, RegenerationCost.Medium) {}
예제 #4
0
 /// <summary>
 /// Constructs a new <see cref="AsyncSopFrameData"/>
 /// </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 AsyncSopFrameData(int frameNumber, AsyncSopDataSource parent)
     : this(frameNumber, parent, RegenerationCost.Medium)
 {
 }