Skip to content

Commit

Permalink
Merge branch 'release/0.7.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
takuya-takeuchi committed Aug 15, 2018
2 parents 2c6ea92 + d931a76 commit 20c13c8
Show file tree
Hide file tree
Showing 193 changed files with 4,089 additions and 834 deletions.
38 changes: 21 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,33 +4,33 @@ Windows Biometric Framework .NET wrapper

[![NuGet version](https://badge.fury.io/nu/WinBiometricDotNet.svg)](https://badge.fury.io/nu/WinBiometricDotNet)
[![GitHub license](https://img.shields.io/github/license/mashape/apistatus.svg)]()
[![API Cover Progress](https://img.shields.io/badge/API%20Coverage-84.6%25%20(44/52)-green.svg)]()
[![API Cover Progress](https://img.shields.io/badge/API%20Coverage-100.0%25%20(52/52)-green.svg)]()

## Support API

|Function|Support|Win 7|Win 8|Win 10|Note|
|----|:----:|:----:|:----:|:----:|----|
|WinBioAcquireFocus||||||
|WinBioAsyncEnumBiometricUnits|||||Experimental|
|WinBioAsyncEnumDatabases|||||Experimental|
|WinBioAsyncEnumServiceProviders|||||Experimental|
|WinBioAsyncMonitorFrameworkChanges|||||Experimental|
|WinBioAsyncOpenFramework|||||Experimental|
|WinBioAsyncOpenSession|||||Experimental|
|WinBioAsyncEnumBiometricUnits||||||
|WinBioAsyncEnumDatabases||||||
|WinBioAsyncEnumServiceProviders||||||
|WinBioAsyncMonitorFrameworkChanges||||||
|WinBioAsyncOpenFramework||||||
|WinBioAsyncOpenSession||||||
|WinBioCancel||||||
|WinBioCaptureSample||||||
|WinBioCaptureSampleWithCallback||||||
|WinBioCloseFramework||||||
|WinBioCloseSession||||||
|WinBioControlUnit||||||
|WinBioControlUnitPrivileged||||||
|WinBioControlUnit||||||
|WinBioControlUnitPrivileged||||||
|WinBioDeleteTemplate||||||
|WinBioEnrollBegin||||||
|WinBioEnrollCapture||||||
|WinBioEnrollCaptureWithCallback||||||
|WinBioEnrollCommit||||||
|WinBioEnrollDiscard||||||
|WinBioEnrollSelect|||||Experimental|
|WinBioEnrollSelect||||||
|WinBioEnumBiometricUnits||||||
|WinBioEnumDatabases||||||
|WinBioEnumEnrollments||||||
Expand All @@ -48,17 +48,21 @@ Windows Biometric Framework .NET wrapper
|WinBioLocateSensorWithCallback||||||
|WinBioLockUnit||||||
|WinBioLogonIdentifiedUser||||||
|WinBioMonitorPresence||||||
|WinBioMonitorPresence||||||
|WinBioOpenSession||||||
|WinBioRegisterEventMonitor||||||
|WinBioReleaseFocus||||||
|WinBioRemoveAllCredentials||||||
|WinBioRemoveAllDomainCredentials||||||
|WinBioRemoveCredential||||||
|WinBioSetCredential||||||
|WinBioSetProperty||||||
|WinBioRemoveAllCredentials||||||
|WinBioRemoveAllDomainCredentials||||||
|WinBioRemoveCredential||||||
|WinBioSetCredential||||||
|WinBioSetProperty||||||
|WinBioUnlockUnit||||||
|WinBioUnregisterEventMonitor||||||
|WinBioVerify||||||
|WinBioVerifyWithCallback||||||
|WinBioWait||||||
|WinBioWait||||||

## Known Issue

- ***AsyncOpenSession*** and ***AsyncOpenFramework*** throws Exception if specifies ***WINBIO_ASYNC_NOTIFY_CALLBACK***.
22 changes: 22 additions & 0 deletions examples/FrameworkTester/Controls/ObservableContentControl.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
using System.Windows.Controls;

namespace FrameworkTester.Controls
{

public class ObservableContentControl : ContentControl
{

protected override void OnContentChanged(object oldContent, object newContent)
{
base.OnContentChanged(oldContent, newContent);

if (this.ContentTemplateSelector == null)
{
return;
}
this.OnContentTemplateSelectorChanged(null, this.ContentTemplateSelector);
}

}

}
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace FrameworkTester.DesignTimes
public sealed class WinBioAsyncEnumBiometricUnitsViewModel : WinBioViewModel, IWinBioAsyncEnumBiometricUnitsViewModel
{

public IWindowRepositoryViewModel<IFrameworkHandleViewModel> WindowRepository
public IHandleRepositoryViewModel<IFrameworkHandleViewModel> HandleRepository
{
get;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public bool EnableWait
set;
}

public IWindowRepositoryViewModel<IFrameworkHandleViewModel> WindowRepository
public IHandleRepositoryViewModel<IFrameworkHandleViewModel> HandleRepository
{
get;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ public bool EnableWait
set;
}

public IWindowRepositoryViewModel<IFrameworkHandleViewModel> WindowRepository
public IHandleRepositoryViewModel<IFrameworkHandleViewModel> HandleRepository
{
get;
}

public BiometricServiceProvider CurrentServiceProvider
public BiometricServiceProvider SelectedServiceProvider
{
get;
set;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public bool EnableWait
set;
}

public IWindowRepositoryViewModel<IFrameworkHandleViewModel> WindowRepository
public IHandleRepositoryViewModel<IFrameworkHandleViewModel> HandleRepository
{
get;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
using System;
using System.Collections.Generic;
using System.Collections.Generic;
using FrameworkTester.ViewModels.Interfaces;
using GalaSoft.MvvmLight.Command;
using WinBiometricDotNet;

using WINBIO_FRAMEWORK_HANDLE = System.UInt32;

namespace FrameworkTester.DesignTimes
Expand Down Expand Up @@ -44,7 +42,7 @@ public bool EnableMessageCode
get;
}

public IWindowRepositoryViewModel<IFrameworkHandleViewModel> WindowRepository
public IHandleRepositoryViewModel<IFrameworkHandleViewModel> HandleRepository
{
get;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public bool EnableMessageCode
get;
}

public IWindowRepositoryViewModel<ISessionHandleViewModel> WindowRepository
public IHandleRepositoryViewModel<ISessionHandleViewModel> HandleRepository
{
get;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace FrameworkTester.DesignTimes
public sealed class WinBioCancelViewModel : WinBioViewModel, IWinBioCancelViewModel, IWinBioAsyncSessionViewModel
{

public IWindowRepositoryViewModel<ISessionHandleViewModel> WindowRepository
public IHandleRepositoryViewModel<ISessionHandleViewModel> HandleRepository
{
get;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public uint UnitId
get;
}

public IWindowRepositoryViewModel<ISessionHandleViewModel> WindowRepository
public IHandleRepositoryViewModel<ISessionHandleViewModel> HandleRepository
{
get;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public uint UnitId
get;
}

public IWindowRepositoryViewModel<ISessionHandleViewModel> WindowRepository
public IHandleRepositoryViewModel<ISessionHandleViewModel> HandleRepository
{
get;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace FrameworkTester.DesignTimes
public sealed class WinBioCloseFrameworkViewModel : WinBioViewModel, IWinBioCloseFrameworkViewModel
{

public IWindowRepositoryViewModel<IFrameworkHandleViewModel> WindowRepository
public IHandleRepositoryViewModel<IFrameworkHandleViewModel> HandleRepository
{
get;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace FrameworkTester.DesignTimes
public sealed class WinBioCloseSessionViewModel : WinBioViewModel, IWinBioCloseSessionViewModel, IWinBioAsyncSessionViewModel
{

public IWindowRepositoryViewModel<ISessionHandleViewModel> WindowRepository
public IHandleRepositoryViewModel<ISessionHandleViewModel> HandleRepository
{
get;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
using System.Collections.Generic;
using FrameworkTester.ViewModels.Interfaces;
using WinBiometricDotNet;

namespace FrameworkTester.DesignTimes
{

public sealed class WinBioControlUnitPrivilegedViewModel : WinBioViewModel, IWinBioControlUnitViewModel, IWinBioAsyncSessionViewModel
{

public IEnumerable<Component> Components
{
get;
}

public uint ControlCode
{
get;
set;
}

public string SendBufferFile
{
get;
set;
}

public Component SelectedComponent
{
get;
set;
}

public uint OperationStatus
{
get;
}

public uint ReceiveBufferSize
{
get;
set;
}

public uint ReceiveDataSize
{
get;
}

public IHandleRepositoryViewModel<ISessionHandleViewModel> HandleRepository
{
get;
}

}

}
57 changes: 57 additions & 0 deletions examples/FrameworkTester/DesignTimes/WinBioControlUnitViewModel.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
using System.Collections.Generic;
using FrameworkTester.ViewModels.Interfaces;
using WinBiometricDotNet;

namespace FrameworkTester.DesignTimes
{

public sealed class WinBioControlUnitViewModel : WinBioViewModel, IWinBioControlUnitViewModel, IWinBioAsyncSessionViewModel
{

public IEnumerable<Component> Components
{
get;
}

public uint ControlCode
{
get;
set;
}

public string SendBufferFile
{
get;
set;
}

public Component SelectedComponent
{
get;
set;
}

public uint OperationStatus
{
get;
}

public uint ReceiveBufferSize
{
get;
set;
}

public uint ReceiveDataSize
{
get;
}

public IHandleRepositoryViewModel<ISessionHandleViewModel> HandleRepository
{
get;
}

}

}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace FrameworkTester.DesignTimes
public sealed class WinBioDeleteTemplateViewModel : WinBioViewModel, IWinBioDeleteTemplateViewModel, IWinBioAsyncSessionViewModel
{

public FingerPosition CurrentFingerPosition
public FingerPosition SelectedFingerPosition
{
get;
set;
Expand All @@ -24,7 +24,7 @@ public IBiometricIdentityRepositoryViewModel IdentityRepository
get;
}

public IWindowRepositoryViewModel<ISessionHandleViewModel> WindowRepository
public IHandleRepositoryViewModel<ISessionHandleViewModel> HandleRepository
{
get;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public IEnumerable<FingerPosition> FingerPositions
get;
}

public IWindowRepositoryViewModel<ISessionHandleViewModel> WindowRepository
public IHandleRepositoryViewModel<ISessionHandleViewModel> HandleRepository
{
get;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public RejectDetails RejectDetail
get;
}

public IWindowRepositoryViewModel<ISessionHandleViewModel> WindowRepository
public IHandleRepositoryViewModel<ISessionHandleViewModel> HandleRepository
{
get;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public RejectDetails RejectDetail
get;
}

public IWindowRepositoryViewModel<ISessionHandleViewModel> WindowRepository
public IHandleRepositoryViewModel<ISessionHandleViewModel> HandleRepository
{
get;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public Guid TemplateGuid
get;
}

public IWindowRepositoryViewModel<ISessionHandleViewModel> WindowRepository
public IHandleRepositoryViewModel<ISessionHandleViewModel> HandleRepository
{
get;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace FrameworkTester.DesignTimes
public sealed class WinBioEnrollDiscardViewModel : WinBioViewModel, IWinBioEnrollDiscardViewModel, IWinBioAsyncSessionViewModel
{

public IWindowRepositoryViewModel<ISessionHandleViewModel> WindowRepository
public IHandleRepositoryViewModel<ISessionHandleViewModel> HandleRepository
{
get;
}
Expand Down
Loading

0 comments on commit 20c13c8

Please sign in to comment.