@@ -38,15 +38,15 @@ public UWP(Package package)
38
38
39
39
public void InitAppsInPackage ( Package package )
40
40
{
41
- var applist = new List < Application > ( ) ;
41
+ var apps = new List < Application > ( ) ;
42
42
// WinRT
43
43
var appListEntries = package . GetAppListEntries ( ) ;
44
44
foreach ( var app in appListEntries )
45
45
{
46
46
try
47
47
{
48
48
var tmp = new Application ( app , this ) ;
49
- applist . Add ( tmp ) ;
49
+ apps . Add ( tmp ) ;
50
50
}
51
51
catch ( Exception e )
52
52
{
@@ -55,7 +55,7 @@ public void InitAppsInPackage(Package package)
55
55
+ $ "{ FullName } from location { Location } ", e ) ;
56
56
}
57
57
}
58
- Apps = applist . ToArray ( ) ;
58
+ Apps = apps . ToArray ( ) ;
59
59
60
60
try
61
61
{
@@ -147,7 +147,7 @@ private PackageVersion GetPackageVersionFromManifest(XmlNode xmlRoot)
147
147
}
148
148
149
149
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 "
151
151
+ $ "{ FullName } from location { Location } ", new FormatException ( ) ) ;
152
152
return PackageVersion . Unknown ;
153
153
}
@@ -392,14 +392,14 @@ public Result Result(string query, IPublicAPI api)
392
392
{
393
393
title = $ "{ Name } : { Description } ";
394
394
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 )
397
397
{
398
- for ( int i = 0 ; i < desciptionMatch . MatchData . Count ; i ++ )
398
+ for ( int i = 0 ; i < descriptionMatch . MatchData . Count ; i ++ )
399
399
{
400
- desciptionMatch . MatchData [ i ] += Name . Length + 2 ; // 2 is ": "
400
+ descriptionMatch . MatchData [ i ] += Name . Length + 2 ; // 2 is ": "
401
401
}
402
- matchResult = desciptionMatch ;
402
+ matchResult = descriptionMatch ;
403
403
}
404
404
else matchResult = nameMatch ;
405
405
}
@@ -633,7 +633,7 @@ string TryToFindLogo(string uri, string path, int px)
633
633
// }
634
634
// else
635
635
// {
636
- // ProgramLogger.LogException($"|UWP|ImageFromPath|{(string.IsNullOrEmpty(path) ? "Not Avaliable " : path)}" +
636
+ // ProgramLogger.LogException($"|UWP|ImageFromPath|{(string.IsNullOrEmpty(path) ? "Not Available " : path)}" +
637
637
// $"|Unable to get logo for {UserModelId} from {path} and" +
638
638
// $" located in {Location}", new FileNotFoundException());
639
639
// return new BitmapImage(new Uri(Constant.MissingImgIcon));
@@ -658,8 +658,8 @@ string TryToFindLogo(string uri, string path, int px)
658
658
// var brush = new SolidColorBrush(color);
659
659
// var pen = new Pen(brush, 1);
660
660
// 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 );
663
663
// group.Children.Add(rectDrawing);
664
664
665
665
// var imageArea = new Rect(x, y, image.Width, image.Height);
0 commit comments