You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// We don't want to override an AutomationProperties.Name that is manually set, or if the Content basetype is of type ButtonBase (the ButtonBase.Content will be used then)
SettingsHelper.LoggerFactory.CreateLogger<InstallPage>().LogError(ex,"Failed to get file from path in protocol activation. {message} (0x{hResult:X})",ex.GetMessage(),ex.HResult);
SettingsHelper.LoggerFactory.CreateLogger<InstallPage>().LogError(ex,"Failed to get file from path in protocol activation. {message} (0x{hResult:X})",ex.GetMessage(),ex.HResult);
SettingsHelper.LoggerFactory.CreateLogger<InstallPage>().LogError(ex,"Failed to get file from path in protocol activation. {message} (0x{hResult:X})",ex.GetMessage(),ex.HResult);
SettingsHelper.LoggerFactory.CreateLogger<InstallPage>().LogError(ex,"Failed to get file from path in protocol activation. {message} (0x{hResult:X})",ex.GetMessage(),ex.HResult);
elseif(Uri.TryCreate(path,UriKind.Absolute,outuri)&&uri.Schemeis"http" or "https")
148
+
{
149
+
Provider=newInstallViewModel(uri,this);
150
+
}
148
151
}
152
+
break;
153
+
}
154
+
catch(Exceptionex)
155
+
{
156
+
SettingsHelper.LoggerFactory.CreateLogger<InstallPage>().LogError(ex,"Failed to get file from path in command line activation. {message} (0x{hResult:X})",ex.GetMessage(),ex.HResult);
149
157
}
150
-
break;
151
-
}
152
-
catch(Exceptionex)
153
-
{
154
-
SettingsHelper.LoggerFactory.CreateLogger<InstallPage>().LogError(ex,"Failed to get file from path in command line activation. {message} (0x{hResult:X})",ex.GetMessage(),ex.HResult);
155
158
}
156
159
}
157
160
}
158
-
}
159
-
finally
160
-
{
161
-
commandLineActivatedEventArgs.CompleteDeferral();
162
-
}
163
-
gotodefault;
164
-
default:
165
-
Provider=newInstallViewModel(file:null,this);
166
-
break;
161
+
finally
162
+
{
163
+
commandLineActivatedEventArgs.CompleteDeferral();
164
+
}
165
+
gotodefault;
166
+
default:
167
+
Provider=newInstallViewModel(file:null,this);
168
+
break;
169
+
}
170
+
}
171
+
catch(Exceptionex)
172
+
{
173
+
SettingsHelper.LoggerFactory.CreateLogger<InstallPage>().LogError(ex,"Failed to initialize InstallViewModel with activation arguments. {message} (0x{hResult:X})",ex.GetMessage(),ex.HResult);
0 commit comments