-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
121 changed files
with
9,736 additions
and
782 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -61,7 +61,7 @@ public bool Loop | |
set; | ||
} | ||
|
||
public RejectDetails RejectDetail | ||
public RejectDetail RejectDetail | ||
{ | ||
get; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
152 changes: 152 additions & 0 deletions
152
examples/FrameworkTester/Selectors/ChildWindowLogTemplateSlector.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,152 @@ | ||
using System.Windows; | ||
using System.Windows.Controls; | ||
using FrameworkTester.ViewModels; | ||
using WinBiometricDotNet; | ||
|
||
namespace FrameworkTester.Selectors | ||
{ | ||
|
||
internal sealed class ChildWindowLogTemplateSlector : DataTemplateSelector | ||
{ | ||
|
||
#region Properties | ||
|
||
public DataTemplate CaptureSample | ||
{ | ||
get; | ||
set; | ||
} | ||
|
||
public DataTemplate ControlUnit | ||
{ | ||
get; | ||
set; | ||
} | ||
|
||
public DataTemplate DeleteTemplate | ||
{ | ||
get; | ||
set; | ||
} | ||
|
||
public DataTemplate EnrollBegin | ||
{ | ||
get; | ||
set; | ||
} | ||
|
||
public DataTemplate EnrollCapture | ||
{ | ||
get; | ||
set; | ||
} | ||
|
||
public DataTemplate EnrollCommit | ||
{ | ||
get; | ||
set; | ||
} | ||
|
||
public DataTemplate EnumBiometricUnits | ||
{ | ||
get; | ||
set; | ||
} | ||
|
||
public DataTemplate EnumDatabases | ||
{ | ||
get; | ||
set; | ||
} | ||
|
||
public DataTemplate EnumEnrollments | ||
{ | ||
get; | ||
set; | ||
} | ||
|
||
public DataTemplate EnumServiceProviders | ||
{ | ||
get; | ||
set; | ||
} | ||
|
||
public DataTemplate GetEvent | ||
{ | ||
get; | ||
set; | ||
} | ||
|
||
public DataTemplate GetProperty | ||
{ | ||
get; | ||
set; | ||
} | ||
|
||
public DataTemplate Identity | ||
{ | ||
get; | ||
set; | ||
} | ||
|
||
public DataTemplate SetProperty | ||
{ | ||
get; | ||
set; | ||
} | ||
|
||
public DataTemplate Verify | ||
{ | ||
get; | ||
set; | ||
} | ||
|
||
#endregion | ||
|
||
#region Methods | ||
|
||
#region Overrids | ||
|
||
public override DataTemplate SelectTemplate(object item, DependencyObject container) | ||
{ | ||
if (item is AsyncResultCaptureSampleDummy) | ||
return this.CaptureSample; | ||
if (item is AsyncResultControlUnit) | ||
return this.ControlUnit; | ||
if (item is AsyncResultDeleteTemplate) | ||
return this.DeleteTemplate; | ||
if (item is AsyncResultEnrollBegin) | ||
return this.EnrollBegin; | ||
if (item is AsyncResultEnrollCapture) | ||
return this.EnrollCapture; | ||
if (item is AsyncResultEnrollCommit) | ||
return this.EnrollCommit; | ||
if (item is AsyncResultEnumBiometricUnits) | ||
return this.EnumBiometricUnits; | ||
if (item is AsyncResultEnumDatabases) | ||
return this.EnumDatabases; | ||
if (item is AsyncResultEnumEnrollmentsDummy) | ||
return this.EnumEnrollments; | ||
if (item is AsyncResultEnumServiceProviders) | ||
return this.EnumServiceProviders; | ||
if (item is AsyncResultGetEvent) | ||
return this.GetEvent; | ||
if (item is AsyncResultGetProperty) | ||
return this.GetProperty; | ||
if (item is AsyncResultIdentity) | ||
return this.Identity; | ||
if (item is AsyncResultSetProperty) | ||
return this.SetProperty; | ||
if (item is AsyncResultVerify) | ||
return this.Verify; | ||
|
||
return null; | ||
} | ||
|
||
#endregion | ||
|
||
#endregion | ||
|
||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.