Fixed xml doc ref.

This commit is contained in:
soukoku
2014-04-10 07:52:46 -04:00
parent f861cd8c60
commit d20f84329c
5 changed files with 14 additions and 9 deletions

View File

@@ -88,7 +88,7 @@ namespace NTwain.Data
public ItemType ItemType { get; private set; }
/// <summary>
/// Gets the one value if container is <see cref="ContainerType.Array"/>.
/// Gets the one value if container is <see cref="NTwain.Values.ContainerType.Array"/>.
/// </summary>
/// <value>
/// The one value.
@@ -96,7 +96,7 @@ namespace NTwain.Data
public object OneValue { get; private set; }
/// <summary>
/// Gets the collection values if container is <see cref="ContainerType.Enum"/> or <see cref="ContainerType.Range"/> .
/// Gets the collection values if container is <see cref="NTwain.Values.ContainerType.Enum"/> or <see cref="NTwain.Values.ContainerType.Range"/> .
/// </summary>
/// <value>
/// The collection values.
@@ -108,11 +108,11 @@ namespace NTwain.Data
#region enum prop
/// <summary>
/// Gets the current value index if container is <see cref="ContainerType.Enum"/>.
/// Gets the current value index if container is <see cref="NTwain.Values.ContainerType.Enum"/>.
/// </summary>
public int EnumCurrentIndex { get; private set; }
/// <summary>
/// Gets the default value index if container is <see cref="ContainerType.Enum" />.
/// Gets the default value index if container is <see cref="NTwain.Values.ContainerType.Enum" />.
/// </summary>
public int EnumDefaultIndex { get; private set; }
@@ -121,14 +121,14 @@ namespace NTwain.Data
#region range prop
/// <summary>
/// Gets the current value if container is <see cref="ContainerType.Range" />.
/// Gets the current value if container is <see cref="NTwain.Values.ContainerType.Range" />.
/// </summary>
/// <value>
/// The range current value.
/// </value>
public object RangeCurrentValue { get; private set; }
/// <summary>
/// Gets the default value if container is <see cref="ContainerType.Range" />.
/// Gets the default value if container is <see cref="NTwain.Values.ContainerType.Range" />.
/// </summary>
/// <value>
/// The range default value.

View File

@@ -46,9 +46,11 @@
<AssemblyOriginatorKeyFile>Sign.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<ItemGroup>
<Reference Include="PresentationCore" />
<Reference Include="System" />
<Reference Include="System.Drawing" />
<Reference Include="System.Windows.Forms" />
<Reference Include="WindowsBase" />
</ItemGroup>
<ItemGroup>
<Compile Include="AsyncPump.cs" />

View File

@@ -888,6 +888,9 @@ namespace NTwain
TWImageMemXfer xferInfo = new TWImageMemXfer();
try
{
// how to tell if going to xfer in strip vs tile?
// if tile don't allocate memory in app?
xferInfo.Memory = new TWMemory
{
Flags = MemoryFlags.AppOwns | MemoryFlags.Pointer,
@@ -971,6 +974,7 @@ namespace NTwain
string finalFile = null;
try
{
// no strip or tile here, just chunks
xferInfo.Memory = new TWMemory
{
Flags = MemoryFlags.AppOwns | MemoryFlags.Pointer,

View File

@@ -171,7 +171,6 @@ namespace NTwain
/// </summary>
/// <param name="session">The session.</param>
/// <param name="capabilityId">The capability unique identifier.</param>
/// <param name="tryUpperWord">if set to <c>true</c> then apply to workaround for certain bad sources.</param>
/// <returns></returns>
public static IList<object> GetCapabilityValues(this TwainSession session, CapabilityId capabilityId)
{

View File

@@ -6,7 +6,7 @@ namespace NTwain
{
/// <summary>
/// A customized TWAIN session for use in WPF environment.
/// Use this by using <see cref="PreFilterMessage"/> method as the target of <see cref="HwndSource.AddHook"/> delegate.
/// Use this by using <see cref="PreFilterMessage"/> method as the target of <see cref="System.Windows.Interop.HwndSource.AddHook"/> delegate.
/// </summary>
public class TwainSessionWPF : TwainSession
{
@@ -30,7 +30,7 @@ namespace NTwain
public IntPtr PreFilterMessage(IntPtr hwnd, int msg, IntPtr wParam, IntPtr lParam, ref bool handled)
{
var winmsg = new MESSAGE(hwnd, msg, wParam, lParam);
handled = base.HandleWndProcMessage(ref winmsg);
return IntPtr.Zero;