mirror of
https://github.com/soukoku/ntwain.git
synced 2026-02-25 13:04:07 +08:00
Some internal refactoring.
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user