Some renames.

This commit is contained in:
soukoku
2014-05-19 21:26:44 -04:00
parent eb99616530
commit 9bf86464c8
9 changed files with 290 additions and 294 deletions

View File

@@ -11,6 +11,9 @@ using System.Threading;
namespace NTwain
{
/// <summary>
/// Represents a TWAIN data source.
/// </summary>
public partial class TwainSource : INotifyPropertyChanged
{
ITwainSessionInternal _session;
@@ -82,6 +85,8 @@ namespace NTwain
return stat;
}
#region properties
internal TWIdentity Identity { get; private set; }
/// <summary>
@@ -156,7 +161,7 @@ namespace NTwain
{
if (_supportedCaps == null && _session.State > 3)
{
_supportedCaps = GetCapabilityValues(CapabilityId.CapSupportedCaps).CastToEnum<CapabilityId>(false);
_supportedCaps = CapGetValues(CapabilityId.CapSupportedCaps).CastToEnum<CapabilityId>(false);
}
return _supportedCaps ?? _emptyCapList;
}
@@ -167,6 +172,8 @@ namespace NTwain
}
}
#endregion
#region INotifyPropertyChanged Members
/// <summary>