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
using CsvHelper; | |
using CsvHelper.Configuration; | |
using System; | |
using System.Collections.Generic; | |
using System.Dynamic; | |
using System.Globalization; | |
using System.IO; | |
using System.Linq; | |
namespace ConsoleApp8 |
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
using Reactive.Bindings; | |
using Reactive.Bindings.Extensions; | |
using System; | |
using System.Linq; | |
using System.Reactive; | |
using System.Reactive.Disposables; | |
using System.Reactive.Linq; | |
using System.Reactive.Subjects; | |
namespace ConsoleApp5 |
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
<Window | |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |
xmlns:igDP="http://infragistics.com/DataPresenter" | |
xmlns:igEditors="http://infragistics.com/Editors" | |
x:Class="WpfApplication6.MainWindow" | |
Title="MainWindow" Height="350" Width="525"> | |
<Grid> | |
<igDP:XamDataGrid DataSource="{Binding Mode=OneWay}"> |
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
using Reactive.Bindings; | |
using Reactive.Bindings.Binding; | |
using Reactive.Bindings.Extensions; | |
using System; | |
using System.Data; | |
using System.Linq; | |
using System.Reactive.Disposables; | |
using System.Reactive.Linq; | |
using System.Windows.Forms; |
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
/* 出力 | |
now loading | |
now loading | |
now loading | |
done { index: 1, result: filter2: src image } | |
done { index: 0, result: filter1: src image } | |
done { index: 2, result: filter3: src image } | |
filter1: src image | |
filter2: src image | |
filter3: src image |
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
class BindableBase : INotifyPropertyChanged | |
{ | |
public event PropertyChangedEventHandler PropertyChanged; | |
protected bool SetProperty<T>(ref T field, T value, [CallerMemberName]string propertyName = null) | |
{ | |
Debug.WriteLine("PropertyChangedが {GetType().Name} で呼ばれました。"); | |
field = value; | |
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName)); | |
} | |
} |
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
[ | |
{ | |
"Index": "0", | |
"Label": "tench, Tinca tinca" | |
}, | |
{ | |
"Index": "1", | |
"Label": "goldfish, Carassius auratus" | |
}, | |
{ |
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
// Model | |
public interface IData | |
{ | |
IReadOnlyList<IDatum> DatumList { get; } | |
} | |
public interface IDatum | |
{ | |
IReadOnlyList<int> Numbers { get; } | |
} |
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 class PageNavigationManager | |
{ | |
public static PageNavigationManager Instance { get; } = new PageNavigationManager(); | |
private INavigation Navigation { get; set; } | |
private Dictionary<string, Type> PageMap { get; } = new Dictionary<string, Type>(); | |
public void Init(INavigation navigation) | |
{ |
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
namespace TechSummit2018.ServerlessSmartSpeaker | |
{ | |
public class SmartSpeakerEndpoints | |
{ | |
private IAssistant Assistant { get; } | |
private IPlatformService PlatformService { get; } | |
public SmartSpeakerEndpoints(IAssistant assistant, IPlatformService platformService) | |
{ | |
Assistant = assistant; |