-
Notifications
You must be signed in to change notification settings - Fork 743
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Microsoft.Windows.AppLifecycle contract
- Loading branch information
1 parent
96ac958
commit b4619da
Showing
5 changed files
with
372 additions
and
0 deletions.
There are no files selected for viewing
54 changes: 54 additions & 0 deletions
54
...Uno.UWP/Generated/3.0.0.0/Microsoft.Windows.AppLifecycle/ActivationRegistrationManager.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,54 @@ | ||
// <auto-generated> | ||
#pragma warning disable 108 // new keyword hiding | ||
#pragma warning disable 114 // new keyword hiding | ||
namespace Microsoft.Windows.AppLifecycle | ||
{ | ||
#if __ANDROID__ || __IOS__ || IS_UNIT_TESTS || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__ | ||
[global::Uno.NotImplemented] | ||
#endif | ||
public static partial class ActivationRegistrationManager | ||
{ | ||
#if __ANDROID__ || __IOS__ || IS_UNIT_TESTS || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__ | ||
[global::Uno.NotImplemented("__ANDROID__", "__IOS__", "IS_UNIT_TESTS", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__", "__MACOS__")] | ||
public static void RegisterForFileTypeActivation(string[] supportedFileTypes, string logo, string displayName, string[] supportedVerbs, string exePath) | ||
{ | ||
global::Windows.Foundation.Metadata.ApiInformation.TryRaiseNotImplemented("Microsoft.Windows.AppLifecycle.ActivationRegistrationManager", "void ActivationRegistrationManager.RegisterForFileTypeActivation(string[] supportedFileTypes, string logo, string displayName, string[] supportedVerbs, string exePath)"); | ||
} | ||
#endif | ||
#if __ANDROID__ || __IOS__ || IS_UNIT_TESTS || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__ | ||
[global::Uno.NotImplemented("__ANDROID__", "__IOS__", "IS_UNIT_TESTS", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__", "__MACOS__")] | ||
public static void RegisterForProtocolActivation(string scheme, string logo, string displayName, string exePath) | ||
{ | ||
global::Windows.Foundation.Metadata.ApiInformation.TryRaiseNotImplemented("Microsoft.Windows.AppLifecycle.ActivationRegistrationManager", "void ActivationRegistrationManager.RegisterForProtocolActivation(string scheme, string logo, string displayName, string exePath)"); | ||
} | ||
#endif | ||
#if __ANDROID__ || __IOS__ || IS_UNIT_TESTS || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__ | ||
[global::Uno.NotImplemented("__ANDROID__", "__IOS__", "IS_UNIT_TESTS", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__", "__MACOS__")] | ||
public static void RegisterForStartupActivation(string taskId, string exePath) | ||
{ | ||
global::Windows.Foundation.Metadata.ApiInformation.TryRaiseNotImplemented("Microsoft.Windows.AppLifecycle.ActivationRegistrationManager", "void ActivationRegistrationManager.RegisterForStartupActivation(string taskId, string exePath)"); | ||
} | ||
#endif | ||
#if __ANDROID__ || __IOS__ || IS_UNIT_TESTS || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__ | ||
[global::Uno.NotImplemented("__ANDROID__", "__IOS__", "IS_UNIT_TESTS", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__", "__MACOS__")] | ||
public static void UnregisterForFileTypeActivation(string[] fileTypes, string exePath) | ||
{ | ||
global::Windows.Foundation.Metadata.ApiInformation.TryRaiseNotImplemented("Microsoft.Windows.AppLifecycle.ActivationRegistrationManager", "void ActivationRegistrationManager.UnregisterForFileTypeActivation(string[] fileTypes, string exePath)"); | ||
} | ||
#endif | ||
#if __ANDROID__ || __IOS__ || IS_UNIT_TESTS || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__ | ||
[global::Uno.NotImplemented("__ANDROID__", "__IOS__", "IS_UNIT_TESTS", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__", "__MACOS__")] | ||
public static void UnregisterForProtocolActivation(string scheme, string exePath) | ||
{ | ||
global::Windows.Foundation.Metadata.ApiInformation.TryRaiseNotImplemented("Microsoft.Windows.AppLifecycle.ActivationRegistrationManager", "void ActivationRegistrationManager.UnregisterForProtocolActivation(string scheme, string exePath)"); | ||
} | ||
#endif | ||
#if __ANDROID__ || __IOS__ || IS_UNIT_TESTS || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__ | ||
[global::Uno.NotImplemented("__ANDROID__", "__IOS__", "IS_UNIT_TESTS", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__", "__MACOS__")] | ||
public static void UnregisterForStartupActivation(string taskId) | ||
{ | ||
global::Windows.Foundation.Metadata.ApiInformation.TryRaiseNotImplemented("Microsoft.Windows.AppLifecycle.ActivationRegistrationManager", "void ActivationRegistrationManager.UnregisterForStartupActivation(string taskId)"); | ||
} | ||
#endif | ||
} | ||
} |
39 changes: 39 additions & 0 deletions
39
src/Uno.UWP/Generated/3.0.0.0/Microsoft.Windows.AppLifecycle/AppActivationArguments.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,39 @@ | ||
// <auto-generated> | ||
#pragma warning disable 108 // new keyword hiding | ||
#pragma warning disable 114 // new keyword hiding | ||
namespace Microsoft.Windows.AppLifecycle | ||
{ | ||
#if __ANDROID__ || __IOS__ || IS_UNIT_TESTS || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__ | ||
[global::Uno.NotImplemented] | ||
#endif | ||
public partial class AppActivationArguments | ||
{ | ||
#if __ANDROID__ || __IOS__ || IS_UNIT_TESTS || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__ | ||
internal AppActivationArguments() | ||
{ | ||
} | ||
#endif | ||
#if __ANDROID__ || __IOS__ || IS_UNIT_TESTS || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__ | ||
[global::Uno.NotImplemented("__ANDROID__", "__IOS__", "IS_UNIT_TESTS", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__", "__MACOS__")] | ||
public object Data | ||
{ | ||
get | ||
{ | ||
throw new global::System.NotImplementedException("The member object AppActivationArguments.Data is not implemented. For more information, visit https://aka.platform.uno/notimplemented#m=object%20AppActivationArguments.Data"); | ||
} | ||
} | ||
#endif | ||
#if __ANDROID__ || __IOS__ || IS_UNIT_TESTS || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__ | ||
[global::Uno.NotImplemented("__ANDROID__", "__IOS__", "IS_UNIT_TESTS", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__", "__MACOS__")] | ||
public global::Microsoft.Windows.AppLifecycle.ExtendedActivationKind Kind | ||
{ | ||
get | ||
{ | ||
throw new global::System.NotImplementedException("The member ExtendedActivationKind AppActivationArguments.Kind is not implemented. For more information, visit https://aka.platform.uno/notimplemented#m=ExtendedActivationKind%20AppActivationArguments.Kind"); | ||
} | ||
} | ||
#endif | ||
// Forced skipping of method Microsoft.Windows.AppLifecycle.AppActivationArguments.Kind.get | ||
// Forced skipping of method Microsoft.Windows.AppLifecycle.AppActivationArguments.Data.get | ||
} | ||
} |
117 changes: 117 additions & 0 deletions
117
src/Uno.UWP/Generated/3.0.0.0/Microsoft.Windows.AppLifecycle/AppInstance.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,117 @@ | ||
// <auto-generated> | ||
#pragma warning disable 108 // new keyword hiding | ||
#pragma warning disable 114 // new keyword hiding | ||
namespace Microsoft.Windows.AppLifecycle | ||
{ | ||
#if __ANDROID__ || __IOS__ || IS_UNIT_TESTS || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__ | ||
[global::Uno.NotImplemented] | ||
#endif | ||
public partial class AppInstance | ||
{ | ||
#if __ANDROID__ || __IOS__ || IS_UNIT_TESTS || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__ | ||
internal AppInstance() | ||
{ | ||
} | ||
#endif | ||
#if __ANDROID__ || __IOS__ || IS_UNIT_TESTS || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__ | ||
[global::Uno.NotImplemented("__ANDROID__", "__IOS__", "IS_UNIT_TESTS", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__", "__MACOS__")] | ||
public bool IsCurrent | ||
{ | ||
get | ||
{ | ||
throw new global::System.NotImplementedException("The member bool AppInstance.IsCurrent is not implemented. For more information, visit https://aka.platform.uno/notimplemented#m=bool%20AppInstance.IsCurrent"); | ||
} | ||
} | ||
#endif | ||
#if __ANDROID__ || __IOS__ || IS_UNIT_TESTS || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__ | ||
[global::Uno.NotImplemented("__ANDROID__", "__IOS__", "IS_UNIT_TESTS", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__", "__MACOS__")] | ||
public string Key | ||
{ | ||
get | ||
{ | ||
throw new global::System.NotImplementedException("The member string AppInstance.Key is not implemented. For more information, visit https://aka.platform.uno/notimplemented#m=string%20AppInstance.Key"); | ||
} | ||
} | ||
#endif | ||
#if __ANDROID__ || __IOS__ || IS_UNIT_TESTS || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__ | ||
[global::Uno.NotImplemented("__ANDROID__", "__IOS__", "IS_UNIT_TESTS", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__", "__MACOS__")] | ||
public uint ProcessId | ||
{ | ||
get | ||
{ | ||
throw new global::System.NotImplementedException("The member uint AppInstance.ProcessId is not implemented. For more information, visit https://aka.platform.uno/notimplemented#m=uint%20AppInstance.ProcessId"); | ||
} | ||
} | ||
#endif | ||
#if __ANDROID__ || __IOS__ || IS_UNIT_TESTS || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__ | ||
[global::Uno.NotImplemented("__ANDROID__", "__IOS__", "IS_UNIT_TESTS", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__", "__MACOS__")] | ||
public void UnregisterKey() | ||
{ | ||
global::Windows.Foundation.Metadata.ApiInformation.TryRaiseNotImplemented("Microsoft.Windows.AppLifecycle.AppInstance", "void AppInstance.UnregisterKey()"); | ||
} | ||
#endif | ||
#if __ANDROID__ || __IOS__ || IS_UNIT_TESTS || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__ | ||
[global::Uno.NotImplemented("__ANDROID__", "__IOS__", "IS_UNIT_TESTS", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__", "__MACOS__")] | ||
public global::Windows.Foundation.IAsyncAction RedirectActivationToAsync(global::Microsoft.Windows.AppLifecycle.AppActivationArguments args) | ||
{ | ||
throw new global::System.NotImplementedException("The member IAsyncAction AppInstance.RedirectActivationToAsync(AppActivationArguments args) is not implemented. For more information, visit https://aka.platform.uno/notimplemented#m=IAsyncAction%20AppInstance.RedirectActivationToAsync%28AppActivationArguments%20args%29"); | ||
} | ||
#endif | ||
#if __ANDROID__ || __IOS__ || IS_UNIT_TESTS || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__ | ||
[global::Uno.NotImplemented("__ANDROID__", "__IOS__", "IS_UNIT_TESTS", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__", "__MACOS__")] | ||
public global::Microsoft.Windows.AppLifecycle.AppActivationArguments GetActivatedEventArgs() | ||
{ | ||
throw new global::System.NotImplementedException("The member AppActivationArguments AppInstance.GetActivatedEventArgs() is not implemented. For more information, visit https://aka.platform.uno/notimplemented#m=AppActivationArguments%20AppInstance.GetActivatedEventArgs%28%29"); | ||
} | ||
#endif | ||
// Forced skipping of method Microsoft.Windows.AppLifecycle.AppInstance.Activated.add | ||
// Forced skipping of method Microsoft.Windows.AppLifecycle.AppInstance.Activated.remove | ||
// Forced skipping of method Microsoft.Windows.AppLifecycle.AppInstance.Key.get | ||
// Forced skipping of method Microsoft.Windows.AppLifecycle.AppInstance.IsCurrent.get | ||
// Forced skipping of method Microsoft.Windows.AppLifecycle.AppInstance.ProcessId.get | ||
#if __ANDROID__ || __IOS__ || IS_UNIT_TESTS || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__ | ||
[global::Uno.NotImplemented("__ANDROID__", "__IOS__", "IS_UNIT_TESTS", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__", "__MACOS__")] | ||
public static global::Windows.ApplicationModel.Core.AppRestartFailureReason Restart(string arguments) | ||
{ | ||
throw new global::System.NotImplementedException("The member AppRestartFailureReason AppInstance.Restart(string arguments) is not implemented. For more information, visit https://aka.platform.uno/notimplemented#m=AppRestartFailureReason%20AppInstance.Restart%28string%20arguments%29"); | ||
} | ||
#endif | ||
#if __ANDROID__ || __IOS__ || IS_UNIT_TESTS || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__ | ||
[global::Uno.NotImplemented("__ANDROID__", "__IOS__", "IS_UNIT_TESTS", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__", "__MACOS__")] | ||
public static global::Microsoft.Windows.AppLifecycle.AppInstance GetCurrent() | ||
{ | ||
throw new global::System.NotImplementedException("The member AppInstance AppInstance.GetCurrent() is not implemented. For more information, visit https://aka.platform.uno/notimplemented#m=AppInstance%20AppInstance.GetCurrent%28%29"); | ||
} | ||
#endif | ||
#if __ANDROID__ || __IOS__ || IS_UNIT_TESTS || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__ | ||
[global::Uno.NotImplemented("__ANDROID__", "__IOS__", "IS_UNIT_TESTS", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__", "__MACOS__")] | ||
public static global::System.Collections.Generic.IList<global::Microsoft.Windows.AppLifecycle.AppInstance> GetInstances() | ||
{ | ||
throw new global::System.NotImplementedException("The member IList<AppInstance> AppInstance.GetInstances() is not implemented. For more information, visit https://aka.platform.uno/notimplemented#m=IList%3CAppInstance%3E%20AppInstance.GetInstances%28%29"); | ||
} | ||
#endif | ||
#if __ANDROID__ || __IOS__ || IS_UNIT_TESTS || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__ | ||
[global::Uno.NotImplemented("__ANDROID__", "__IOS__", "IS_UNIT_TESTS", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__", "__MACOS__")] | ||
public static global::Microsoft.Windows.AppLifecycle.AppInstance FindOrRegisterForKey(string key) | ||
{ | ||
throw new global::System.NotImplementedException("The member AppInstance AppInstance.FindOrRegisterForKey(string key) is not implemented. For more information, visit https://aka.platform.uno/notimplemented#m=AppInstance%20AppInstance.FindOrRegisterForKey%28string%20key%29"); | ||
} | ||
#endif | ||
#if __ANDROID__ || __IOS__ || IS_UNIT_TESTS || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__ | ||
[global::Uno.NotImplemented("__ANDROID__", "__IOS__", "IS_UNIT_TESTS", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__", "__MACOS__")] | ||
public event global::System.EventHandler<global::Microsoft.Windows.AppLifecycle.AppActivationArguments> Activated | ||
{ | ||
[global::Uno.NotImplemented("__ANDROID__", "__IOS__", "IS_UNIT_TESTS", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__", "__MACOS__")] | ||
add | ||
{ | ||
global::Windows.Foundation.Metadata.ApiInformation.TryRaiseNotImplemented("Microsoft.Windows.AppLifecycle.AppInstance", "event EventHandler<AppActivationArguments> AppInstance.Activated"); | ||
} | ||
[global::Uno.NotImplemented("__ANDROID__", "__IOS__", "IS_UNIT_TESTS", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__", "__MACOS__")] | ||
remove | ||
{ | ||
global::Windows.Foundation.Metadata.ApiInformation.TryRaiseNotImplemented("Microsoft.Windows.AppLifecycle.AppInstance", "event EventHandler<AppActivationArguments> AppInstance.Activated"); | ||
} | ||
} | ||
#endif | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
src/Uno.UWP/Generated/3.0.0.0/Microsoft.Windows.AppLifecycle/AppLifecycleContract.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,13 @@ | ||
// <auto-generated> | ||
#pragma warning disable 108 // new keyword hiding | ||
#pragma warning disable 114 // new keyword hiding | ||
namespace Microsoft.Windows.AppLifecycle | ||
{ | ||
#if __ANDROID__ || __IOS__ || IS_UNIT_TESTS || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__ | ||
[global::Uno.NotImplemented] | ||
#endif | ||
public partial struct AppLifecycleContract | ||
{ | ||
// Forced skipping of method Microsoft.Windows.AppLifecycle.AppLifecycleContract.AppLifecycleContract() | ||
} | ||
} |
Oops, something went wrong.