Skip to content

Commit

Permalink
Merge branch 'release/0.2.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
takuya-takeuchi committed Aug 5, 2018
2 parents 811928a + e48e7f6 commit 2cf2b7d
Show file tree
Hide file tree
Showing 65 changed files with 4,834 additions and 702 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ Windows Bitometric Framework .NET wrapper
|WinBioEnrollDiscard||
|WinBioEnrollSelect||
|WinBioEnumBiometricUnits||
|WinBioEnumDatabases||
|WinBioEnumEnrollments||
|WinBioEnumDatabases||
|WinBioEnumEnrollments||
|WinBioEnumServiceProviders||
|WinBioFree||
|WinBioGetCredentialState||
Expand All @@ -54,6 +54,6 @@ Windows Bitometric Framework .NET wrapper
|WinBioSetProperty||
|WinBioUnlockUnit||
|WinBioUnregisterEventMonitor||
|WinBioVerify||
|WinBioVerify||
|WinBioVerifyWithCallback||
|WinBioWait||
Original file line number Diff line number Diff line change
@@ -1,27 +1,10 @@
using FrameworkTester.ViewModels.Interfaces;
using GalaSoft.MvvmLight.Command;

namespace FrameworkTester.DesignTimes
{

public sealed class WinBioAcquireFocusViewModel : IWinBioAcquireFocusViewModel
public sealed class WinBioAcquireFocusViewModel : WinBioViewModel, IWinBioAcquireFocusViewModel
{

public RelayCommand ExecuteCommand
{
get;
}

public string Name
{
get;
}

public string Result
{
get;
}

}

}
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
using System.Windows.Media.Imaging;
using FrameworkTester.ViewModels.Interfaces;
using GalaSoft.MvvmLight.Command;
using WinBiometricDotNet;

namespace FrameworkTester.DesignTimes
{

public sealed class WinBioCaptureSampleViewModel : IWinBioCaptureSampleViewModel
public sealed class WinBioCaptureSampleViewModel : WinBioViewModel, IWinBioCaptureSampleViewModel
{

public BitmapSource CaptureImage
Expand Down Expand Up @@ -43,22 +43,7 @@ public int CaptureImageScanVerticalResolution
get;
}

public RelayCommand ExecuteCommand
{
get;
}

public string Name
{
get;
}

public uint RejectDetail
{
get;
}

public string Result
public RejectDetails RejectDetail
{
get;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
using System.Windows.Media.Imaging;
using FrameworkTester.ViewModels.Interfaces;
using GalaSoft.MvvmLight.Command;
using WinBiometricDotNet;

namespace FrameworkTester.DesignTimes
{

public sealed class WinBioCaptureSampleWithCallbackViewModel : IWinBioCaptureSampleWithCallbackViewModel
public sealed class WinBioCaptureSampleWithCallbackViewModel : WinBioViewModel, IWinBioCaptureSampleWithCallbackViewModel
{

public BitmapSource CaptureImage
Expand Down Expand Up @@ -43,28 +43,13 @@ public int CaptureImageScanVerticalResolution
get;
}

public RelayCommand ExecuteCommand
{
get;
}

public bool Loop
{
get;
set;
}

public string Name
{
get;
}

public uint RejectDetail
{
get;
}

public string Result
public RejectDetails RejectDetail
{
get;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,27 +1,10 @@
using FrameworkTester.ViewModels.Interfaces;
using GalaSoft.MvvmLight.Command;

namespace FrameworkTester.DesignTimes
{

public sealed class WinBioCloseSessionViewModel : IWinBioCloseSessionViewModel
public sealed class WinBioCloseSessionViewModel : WinBioViewModel, IWinBioCloseSessionViewModel
{

public RelayCommand ExecuteCommand
{
get;
}

public string Name
{
get;
}

public string Result
{
get;
}

}

}
Original file line number Diff line number Diff line change
@@ -1,29 +1,13 @@
using System.Collections.ObjectModel;
using FrameworkTester.ViewModels.Interfaces;
using GalaSoft.MvvmLight.Command;
using WinBiometricDotNet;

namespace FrameworkTester.DesignTimes
{

public sealed class WinBioEnumBiometricUnitsViewModel : IWinBioEnumBiometricUnitsViewModel
public sealed class WinBioEnumBiometricUnitsViewModel : WinBioViewModel, IWinBioEnumBiometricUnitsViewModel
{

public RelayCommand ExecuteCommand
{
get;
}

public string Name
{
get;
}

public string Result
{
get;
}

public ObservableCollection<BiometricUnit> Units
{
get;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
using System.Collections.ObjectModel;
using FrameworkTester.ViewModels.Interfaces;
using GalaSoft.MvvmLight.Command;
using WinBiometricDotNet;

namespace FrameworkTester.DesignTimes
{

public sealed class WinBioEnumDatabasesViewModel : WinBioViewModel, IWinBioEnumDatabasesViewModel
{

public RelayCommand CreateDatabaseCommand
{
get;
}

public BiometricDatabase CurrentDatabase
{
get;
set;
}

public ObservableCollection<BiometricDatabase> Databases
{
get;
}

public RelayCommand RemoveDatabaseCommand
{
get;
}

}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
using System.Collections.Generic;
using System.Collections.ObjectModel;
using FrameworkTester.ViewModels.Interfaces;
using GalaSoft.MvvmLight.Command;
using WinBiometricDotNet;

namespace FrameworkTester.DesignTimes
{

public sealed class WinBioEnumEnrollmentsViewModel : WinBioViewModel, IWinBioEnumEnrollmentsViewModel
{

public ObservableCollection<KeyValuePair<string, bool>> FingerPositions
{
get;
}

}

}
Original file line number Diff line number Diff line change
@@ -1,28 +1,12 @@
using System;
using FrameworkTester.ViewModels.Interfaces;
using GalaSoft.MvvmLight.Command;

namespace FrameworkTester.DesignTimes
{

public sealed class WinBioOpenSessionViewModel : IWinBioOpenSessionViewModel
public sealed class WinBioOpenSessionViewModel : WinBioViewModel, IWinBioOpenSessionViewModel
{

public RelayCommand ExecuteCommand
{
get;
}

public string Name
{
get;
}

public string Result
{
get;
}

public IntPtr SessionHandle
{
get;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,27 +1,10 @@
using FrameworkTester.ViewModels.Interfaces;
using GalaSoft.MvvmLight.Command;

namespace FrameworkTester.DesignTimes
{

public sealed class WinBioReleaseFocusViewModel : IWinBioReleaseFocusViewModel
public sealed class WinBioReleaseFocusViewModel : WinBioViewModel, IWinBioReleaseFocusViewModel
{

public RelayCommand ExecuteCommand
{
get;
}

public string Name
{
get;
}

public string Result
{
get;
}

}

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

namespace FrameworkTester.DesignTimes
{

public sealed class WinBioVerifyViewModel : WinBioViewModel, IWinBioVerifyViewModel
{

public bool IsMatch
{
get;
}

public RejectDetails RejectDetail
{
get;
}

public uint UnitId
{
get;
}

public FingerPosition SelectedFingerPosition
{
get;
set;
}

public IEnumerable<FingerPosition> FingerPositions
{
get;
}

}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
using System.Collections.Generic;
using System.Windows.Media.Imaging;
using FrameworkTester.ViewModels.Interfaces;
using WinBiometricDotNet;

namespace FrameworkTester.DesignTimes
{

public sealed class WinBioVerifyWithCallbackViewModel : WinBioViewModel, IWinBioVerifyWithCallbackViewModel
{

public bool IsMatch
{
get;
}

public RejectDetails RejectDetail
{
get;
}

public uint UnitId
{
get;
}

public FingerPosition SelectedFingerPosition
{
get;
set;
}

public IEnumerable<FingerPosition> FingerPositions
{
get;
}

}

}
Loading

0 comments on commit 2cf2b7d

Please sign in to comment.