-
Notifications
You must be signed in to change notification settings - Fork 0
API
Jasper Zanjani edited this page Aug 18, 2020
·
5 revisions
- Newtonsoft.Json
- System.Threading
- System.Threading.Tasks
- Windows.Foundation
- Windows.Storage
- Windows.UI.ViewManagement
- Windows.UI.Xaml.Markup
Random randint = new Random();
int value = randint.Next(3, 9);
-
Thread
- Sleep
System.Threading.Thread.Sleep(1000);
- ThreadLocal
- ThreadStart
- ParameterizedThreadStart
-
Task.Parallel
-
Parallel.Invoke
Invoke()
method acceptsAction
delegates and creates aTask
for each of them.
-
Parallel.Invoke
static void Task1() {
Thread.Sleep(1000);
}
static void Task2() {
Thread.Sleep(2000);
}
static void Main(string[] args) {
Parallel.Invoke(() => Task1(), () => Task2());
Console.WriteLine("Finished processing.")
Console.ReadKey();
}
- IAsyncOperation
- StorageFolder
- CreateFileAsync
- TryGetItemAsync
- StorageFile
- OpenAsync
- StorageFolder
-
ApplicationView
- PreferredLaunchViewSize Gets or sets the size that the app launches with when the ApplicationView.PreferredLaunchWindowingMode property is set to PreferredLaunchViewSize, except in cases where the system manages the window size directly.
- PreferredLaunchWindowingMode Gets or sets a value that indicates the windowing mode the app launches with.
- ContentPropertyAttribute Indicates which property of a type is the XAML content property.
[ContentProperty(Name = nameof(Customer))]
public sealed partial class CustomerDetailControl : UserControl
{
public CustomerDetailControl()
{
this.InitializeComponent();
}
}
- Newtonsoft.Json
- System.Random
- System.Threading
- System.Threading.Tasks
- Windows.Foundation
- Windows.Storage
- Windows.UI.ViewManagement
- Windows.UI.Xaml.Markup
- Dependency properties
- Markup extensions
- Namespaces
- Resource dictionaries
- SplitView
- Page ?
- Type conversion
- Grid ?
- StackPanel ?
- RelativePanel ?
- VariableSizedWrapGrid
- Canvas