<commit_before>﻿namespace BeeWiCar.Universal.ViewModels
{
    public class MainViewModel : BaseViewModel
    {
        private string hello;

        public MainViewModel()
        {
            this.Hello = "<NAME>";
        }

        public string Hello
        {
            get
            {
                return this.hello;
            }

            set
            {
                this.SetProperty(ref this.hello, value);
            }
        }
    }
}<commit_msg>Added LoadData method to MainViewModel to fill ObservableCollection with device infos.<commit_after>﻿namespace BeeWiCar.Universal.ViewModels
{
    using System.Collections.Generic;
    using System.Collections.ObjectModel;

    using Windows.Devices.Enumeration;

    using BeeWiCar.Universal.Services;

    public class MainViewModel : BaseViewModel
    {
        private ObservableCollection<DeviceInformation> deviceInformations;

        private string hello;

        public MainViewModel()
        {
            this.Hello = "<NAME>";
        }

        public ObservableCollection<DeviceInformation> DeviceInformations
        {
            get
            {
                return this.deviceInformations;
            }

            set
            {
                this.SetProperty(ref this.deviceInformations, value);
            }
        }

        public string Hello
        {
            get
            {
                return this.hello;
            }

            set
            {
                this.SetProperty(ref this.hello, value);
            }
        }

        private async void LoadData()
        {
            var bluetoothRf = new BluetoothRf();
            var bluetoothDeviceInformations = await bluetoothRf.EnumerateDevicesAsync();
            this.DeviceInformations = new ObservableCollection<DeviceInformation>(bluetoothDeviceInformations);
        }
    }
}
{'fraction_non_alphanumeric': 0.06716417910447761, 'fraction_numerical': 0.0, 'mean_word_length': 1.506008010680908, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3317605', 'n_tokens_mistral': 472, 'n_tokens_neox': 428, 'n_words': 92}