File tree Expand file tree Collapse file tree 8 files changed +29
-33
lines changed
source/Demos/CachedPathSuggestBoxDemo Expand file tree Collapse file tree 8 files changed +29
-33
lines changed Original file line number Diff line number Diff line change 1- <Application x : Class =" WpfApp1 .App"
1+ <Application x : Class =" CachedPathSuggestBoxDemo .App"
22 xmlns =" http://schemas.microsoft.com/winfx/2006/xaml/presentation"
33 xmlns : x =" http://schemas.microsoft.com/winfx/2006/xaml"
4- xmlns : local =" clr-namespace:WpfApp1"
54 StartupUri =" MainWindow.xaml" >
65 <Application .Resources>
76
Original file line number Diff line number Diff line change 66using System . Threading . Tasks ;
77using System . Windows ;
88
9- namespace WpfApp1
9+ namespace CachedPathSuggestBoxDemo
1010{
1111 /// <summary>
1212 /// Interaction logic for App.xaml
Original file line number Diff line number Diff line change 1- #nullable enable
1+ using System ;
2+ using System . Collections . Generic ;
3+ using System . IO ;
4+ using System . Linq ;
5+ using System . Threading ;
6+ using System . Threading . Tasks ;
27
3- namespace SuggestBoxTestLib . DataSources
4- {
5- using System ;
6- using System . Collections . Generic ;
7- using System . IO ;
8- using System . Linq ;
9- using System . Threading ;
10- using System . Threading . Tasks ;
8+ #nullable enable
119
10+ namespace CachedPathSuggestBoxDemo . Infrastructure
11+ {
1212 /// <summary>
1313 /// Defines a suggestion object to generate suggestions
1414 /// based on sub entries of specified string.
Original file line number Diff line number Diff line change 1- namespace SuggestBoxTestLib . ViewModels
2- {
3- using System ;
4- using System . Collections ;
5- using System . Collections . ObjectModel ;
6- using System . Collections . Specialized ;
7- using System . Windows . Threading ;
1+ using System ;
2+ using System . Collections ;
3+ using System . Collections . ObjectModel ;
4+ using System . Collections . Specialized ;
5+ using System . Windows . Threading ;
86
7+ namespace CachedPathSuggestBoxDemo . Infrastructure
8+ {
99 /// <summary>
1010 /// WPF-it's implementation
1111 /// http://stackoverflow.com/questions/7687000/fast-performing-and-thread-safe-observable-collection
Original file line number Diff line number Diff line change 1- using LiteDB ;
2- using System ;
1+ using System ;
32using System . Collections . Generic ;
43using System . IO ;
54using System . Linq ;
5+ using LiteDB ;
66
7- namespace WpfApp1
7+ namespace CachedPathSuggestBoxDemo . Infrastructure
88{
99
1010 public class SuggestionProvider
Original file line number Diff line number Diff line change 1- namespace SuggestBoxTestLib . ViewModels . Base
2- {
3- using System ;
4- using System . Diagnostics ;
5- using System . Windows . Input ;
1+ using System ;
2+ using System . Diagnostics ;
3+ using System . Windows . Input ;
64
5+ namespace CachedPathSuggestBoxDemo . Infrastructure
6+ {
77 /// <summary>
88 /// A command whose sole purpose is to
99 /// relay its functionality to other
Original file line number Diff line number Diff line change 1- <Window x : Class =" WpfApp1 .MainWindow"
1+ <Window x : Class =" CachedPathSuggestBoxDemo .MainWindow"
22 xmlns =" http://schemas.microsoft.com/winfx/2006/xaml/presentation"
33 xmlns : x =" http://schemas.microsoft.com/winfx/2006/xaml"
44 xmlns : d =" http://schemas.microsoft.com/expression/blend/2008"
55 xmlns : mc =" http://schemas.openxmlformats.org/markup-compatibility/2006"
6- xmlns : local =" clr-namespace:WpfApp1"
76 xmlns : suggestBoxLib =" clr-namespace:SuggestBoxLib;assembly=SuggestBoxLib"
87 mc : Ignorable =" d"
98 Title =" MainWindow" Height =" 450" Width =" 800" >
Original file line number Diff line number Diff line change 22using System . Collections . Generic ;
33using System . Linq ;
44using System . Windows ;
5- using SuggestBoxTestLib . DataSources ;
6- using SuggestBoxTestLib . ViewModels ;
7- using SuggestBoxTestLib . ViewModels . Base ;
5+ using CachedPathSuggestBoxDemo . Infrastructure ;
86
9- namespace WpfApp1
7+ namespace CachedPathSuggestBoxDemo
108{
119 /// <summary>
1210 /// Interaction logic for MainWindow.xaml
You can’t perform that action at this time.
0 commit comments