@@ -38,15 +38,15 @@ public UWP(Package package)
3838
3939 public void InitAppsInPackage ( Package package )
4040 {
41- var applist = new List < Application > ( ) ;
41+ var apps = new List < Application > ( ) ;
4242 // WinRT
4343 var appListEntries = package . GetAppListEntries ( ) ;
4444 foreach ( var app in appListEntries )
4545 {
4646 try
4747 {
4848 var tmp = new Application ( app , this ) ;
49- applist . Add ( tmp ) ;
49+ apps . Add ( tmp ) ;
5050 }
5151 catch ( Exception e )
5252 {
@@ -55,7 +55,7 @@ public void InitAppsInPackage(Package package)
5555 + $ "{ FullName } from location { Location } ", e ) ;
5656 }
5757 }
58- Apps = applist . ToArray ( ) ;
58+ Apps = apps . ToArray ( ) ;
5959
6060 try
6161 {
@@ -147,7 +147,7 @@ private PackageVersion GetPackageVersionFromManifest(XmlNode xmlRoot)
147147 }
148148
149149 ProgramLogger . LogException ( $ "|UWP|GetPackageVersionFromManifest|{ Location } " +
150- "|Trying to get the package version of the UWP program, but an unknown UWP appmanifest version in package "
150+ "|Trying to get the package version of the UWP program, but an unknown UWP app-manifest version in package "
151151 + $ "{ FullName } from location { Location } ", new FormatException ( ) ) ;
152152 return PackageVersion . Unknown ;
153153 }
@@ -392,14 +392,14 @@ public Result Result(string query, IPublicAPI api)
392392 {
393393 title = $ "{ Name } : { Description } ";
394394 var nameMatch = StringMatcher . FuzzySearch ( query , Name ) ;
395- var desciptionMatch = StringMatcher . FuzzySearch ( query , Description ) ;
396- if ( desciptionMatch . Score > nameMatch . Score )
395+ var descriptionMatch = StringMatcher . FuzzySearch ( query , Description ) ;
396+ if ( descriptionMatch . Score > nameMatch . Score )
397397 {
398- for ( int i = 0 ; i < desciptionMatch . MatchData . Count ; i ++ )
398+ for ( int i = 0 ; i < descriptionMatch . MatchData . Count ; i ++ )
399399 {
400- desciptionMatch . MatchData [ i ] += Name . Length + 2 ; // 2 is ": "
400+ descriptionMatch . MatchData [ i ] += Name . Length + 2 ; // 2 is ": "
401401 }
402- matchResult = desciptionMatch ;
402+ matchResult = descriptionMatch ;
403403 }
404404 else matchResult = nameMatch ;
405405 }
@@ -633,7 +633,7 @@ string TryToFindLogo(string uri, string path, int px)
633633 // }
634634 // else
635635 // {
636- // ProgramLogger.LogException($"|UWP|ImageFromPath|{(string.IsNullOrEmpty(path) ? "Not Avaliable " : path)}" +
636+ // ProgramLogger.LogException($"|UWP|ImageFromPath|{(string.IsNullOrEmpty(path) ? "Not Available " : path)}" +
637637 // $"|Unable to get logo for {UserModelId} from {path} and" +
638638 // $" located in {Location}", new FileNotFoundException());
639639 // return new BitmapImage(new Uri(Constant.MissingImgIcon));
@@ -658,8 +658,8 @@ string TryToFindLogo(string uri, string path, int px)
658658 // var brush = new SolidColorBrush(color);
659659 // var pen = new Pen(brush, 1);
660660 // var backgroundArea = new Rect(0, 0, width, width);
661- // var rectabgle = new RectangleGeometry(backgroundArea);
662- // var rectDrawing = new GeometryDrawing(brush, pen, rectabgle );
661+ // var rectangle = new RectangleGeometry(backgroundArea);
662+ // var rectDrawing = new GeometryDrawing(brush, pen, rectangle );
663663 // group.Children.Add(rectDrawing);
664664
665665 // var imageArea = new Rect(x, y, image.Width, image.Height);
0 commit comments