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
[{ | |
"BenchmarkDate": "2020-05-25T04:33:57.9189754+00:00", | |
"HardwareInfo": { | |
"SystemFamily": "To be filled by O.E.M.", | |
"SystemSku": "To be filled by O.E.M.", | |
"Manufacturer": "Micro-Star International Co., Ltd.", | |
"Model": "MS-7B85", | |
"OS": { | |
"Name": "Microsoft Windows 10 Enterprise", | |
"Version": "10.0.19041", |
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
AMD Ryzen 9 3950X ## 2256 ## 813 | |
Surface Go 2 (m3-8100Y) ## 785 ## 565 |
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
public interface ISubscriber<in TMessage> | |
{ | |
void HandleMessage(TMessage message); | |
} | |
public class MyEventAggregator | |
{ | |
private static List<Tuple<CoreDispatcher, object>> subscribers = new List<Tuple<CoreDispatcher, object>>(); | |
public void Subscribe<TMessage>(ISubscriber<TMessage> subscriber) |
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
The code which writes a file using Isolated Storage: | |
private void CreateNewFileUsingIsolatedStorage(string filePath) | |
{ | |
using (var myIsolatedStorage = IsolatedStorageFile.GetUserStoreForApplication()) | |
{ | |
using (var fileStream = myIsolatedStorage.OpenFile(filePath, FileMode.Create, FileAccess.Write)) | |
{ | |
using (var writer = new StreamWriter(fileStream)) | |
{ |