Some internal refactoring.

This commit is contained in:
soukoku
2014-04-04 07:25:11 -04:00
parent d418b0c751
commit 0d4f60171f
44 changed files with 157 additions and 109 deletions

View File

@@ -5,7 +5,7 @@ namespace NTwain.Triplets
{
sealed class AudioFileXfer : OpBase
{
internal AudioFileXfer(TwainSession session) : base(session) { }
internal AudioFileXfer(ITwainSessionInternal session) : base(session) { }
/// <summary>
/// This operation is used to initiate the transfer of audio from the Source to the application via the
/// disk-file transfer mechanism. It causes the transfer to begin.

View File

@@ -5,7 +5,7 @@ namespace NTwain.Triplets
{
public sealed class AudioInfo : OpBase
{
internal AudioInfo(TwainSession session) : base(session) { }
internal AudioInfo(ITwainSessionInternal session) : base(session) { }
/// <summary>
/// Used to get the information of the current audio data ready to transfer.
/// </summary>

View File

@@ -5,7 +5,7 @@ namespace NTwain.Triplets
{
sealed class AudioNativeXfer : OpBase
{
internal AudioNativeXfer(TwainSession session) : base(session) { }
internal AudioNativeXfer(ITwainSessionInternal session) : base(session) { }
/// <summary>
/// Causes the transfer of an audio data from the Source to the application, via the Native
/// transfer mechanism, to begin. The resulting data is stored in main memory in a single block.

View File

@@ -6,8 +6,8 @@ namespace NTwain.Triplets
/// </summary>
public sealed class DGAudio
{
TwainSession _session;
internal DGAudio(TwainSession session)
ITwainSessionInternal _session;
internal DGAudio(ITwainSessionInternal session)
{
if (session == null) { throw new ArgumentNullException("session"); }
_session = session;