├── Intro
├── App.config
├── packages.config
├── Properties
│ └── AssemblyInfo.cs
├── Program.cs
└── Intro.csproj
├── Pizzeria
├── App.config
├── packages.config
├── Properties
│ └── AssemblyInfo.cs
├── Program.cs
└── Pizzeria.csproj
├── Rios
├── App.config
├── packages.config
├── Fisher.cs
├── River.cs
├── Fish.cs
├── Properties
│ └── AssemblyInfo.cs
├── Program.cs
└── Rios.csproj
├── LICENSE
├── ProgramacionReactiva.sln
└── .gitignore
/Intro/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/Pizzeria/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/Rios/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/Pizzeria/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Rios/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Intro/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Rios/Fisher.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace Rios
8 | {
9 | public class Fisher : IObserver
10 | {
11 | private readonly string _name;
12 |
13 | public Fisher(string name)
14 | {
15 | _name = name;
16 | }
17 | public void OnNext(Fish value)
18 | {
19 | Console.WriteLine($"{_name}: atrapé un {value.Species} de color {value.Color} a las {DateTime.Now:HH:mm:ss.ffff}");
20 | }
21 |
22 | public void OnError(Exception error)
23 | {
24 | Console.WriteLine($"{_name}: Oops, algo pasó {error.Message}");
25 | }
26 |
27 | public void OnCompleted()
28 | {
29 | Console.WriteLine($"{_name}: ¡Terminó la pesca!");
30 | }
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/Pizzeria/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 |
4 | // Information about this assembly is defined by the following attributes.
5 | // Change them to the values specific to your project.
6 |
7 | [assembly: AssemblyTitle("Pizzeria")]
8 | [assembly: AssemblyDescription("")]
9 | [assembly: AssemblyConfiguration("")]
10 | [assembly: AssemblyCompany("")]
11 | [assembly: AssemblyProduct("")]
12 | [assembly: AssemblyCopyright("")]
13 | [assembly: AssemblyTrademark("")]
14 | [assembly: AssemblyCulture("")]
15 |
16 | // The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}".
17 | // The form "{Major}.{Minor}.*" will automatically update the build and revision,
18 | // and "{Major}.{Minor}.{Build}.*" will update just the revision.
19 |
20 | [assembly: AssemblyVersion("1.0.*")]
21 |
22 | // The following attributes are used to specify the signing key for the assembly,
23 | // if desired. See the Mono documentation for more information about signing.
24 |
25 | //[assembly: AssemblyDelaySign(false)]
26 | //[assembly: AssemblyKeyFile("")]
27 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2017 That C# Guy
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/Rios/River.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Reactive.Disposables;
5 | using System.Reactive.Linq;
6 | using System.Reactive.Subjects;
7 | using System.Text;
8 | using System.Threading;
9 | using System.Threading.Tasks;
10 |
11 | namespace Rios
12 | {
13 | public class River
14 | {
15 | private readonly int _fishAmount;
16 | private readonly int _waitTime;
17 | private readonly bool _dangerousRiver;
18 |
19 |
20 | public River(int fishAmount, int waitTime = 500, bool dangerousRiver = false)
21 | {
22 | _fishAmount = fishAmount;
23 | _waitTime = waitTime;
24 | _dangerousRiver = dangerousRiver;
25 | }
26 |
27 | public IObservable Stream()
28 | {
29 | var observable = Observable.Create(observer =>
30 | {
31 | for (int i = 0; i < _fishAmount; i++)
32 | {
33 | var fish = Fish.RandomFish();
34 | observer.OnNext(fish);
35 | Thread.Sleep(_waitTime);
36 |
37 | if (_dangerousRiver && i == _fishAmount / 3)
38 | throw new Exception("Uh, hubo un derrame en el río");
39 | }
40 | observer.OnCompleted();
41 | return () => { };
42 | });
43 |
44 | return observable;
45 | }
46 | }
47 | }
48 |
--------------------------------------------------------------------------------
/Rios/Fish.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace Rios
8 | {
9 | public enum FishSpecies
10 | {
11 | Tuna,
12 | ClownFish,
13 | Blowfish,
14 | Anglerfish
15 | }
16 |
17 | public enum Color
18 | {
19 | Red,
20 | Yellow,
21 | Green,
22 | Black
23 | }
24 |
25 |
26 | public class Fish
27 | {
28 | public double Weight { get; set; }
29 | public Color Color { get; set; }
30 | public FishSpecies Species { get; set; }
31 |
32 | public override string ToString()
33 | {
34 | return $"{Species}, {Color}, {Weight:#,##0.00}";
35 | }
36 |
37 | #region Random fish
38 |
39 | private static readonly Random R = new Random();
40 | private const double MinWeight = 500; // Gramos
41 | private const double MaxWeight = 5000; // Gramos
42 |
43 | public static Fish RandomFish()
44 | {
45 | var fish = new Fish
46 | {
47 | Weight = (R.NextDouble() * (MaxWeight - MinWeight)) + MinWeight,
48 | Species = (FishSpecies) R.Next(4), // There are four species
49 | Color = (Color) R.Next(4) // There are four colors
50 | };
51 |
52 | return fish;
53 | }
54 |
55 | #endregion
56 | }
57 | }
58 |
--------------------------------------------------------------------------------
/Rios/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyTitle("Rios")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("Rios")]
13 | [assembly: AssemblyCopyright("Copyright © 2017")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Setting ComVisible to false makes the types in this assembly not visible
18 | // to COM components. If you need to access a type in this assembly from
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 |
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM
23 | [assembly: Guid("770fda42-730f-4c88-8daa-8e05183c481a")]
24 |
25 | // Version information for an assembly consists of the following four values:
26 | //
27 | // Major Version
28 | // Minor Version
29 | // Build Number
30 | // Revision
31 | //
32 | // You can specify all the values or you can default the Build and Revision Numbers
33 | // by using the '*' as shown below:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.0.0")]
36 | [assembly: AssemblyFileVersion("1.0.0.0")]
37 |
--------------------------------------------------------------------------------
/Intro/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyTitle("Intro")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("Intro")]
13 | [assembly: AssemblyCopyright("Copyright © 2017")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Setting ComVisible to false makes the types in this assembly not visible
18 | // to COM components. If you need to access a type in this assembly from
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 |
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM
23 | [assembly: Guid("2f866c45-1b10-4ed3-bcd2-0c70ddd0c99d")]
24 |
25 | // Version information for an assembly consists of the following four values:
26 | //
27 | // Major Version
28 | // Minor Version
29 | // Build Number
30 | // Revision
31 | //
32 | // You can specify all the values or you can default the Build and Revision Numbers
33 | // by using the '*' as shown below:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.0.0")]
36 | [assembly: AssemblyFileVersion("1.0.0.0")]
37 |
--------------------------------------------------------------------------------
/ProgramacionReactiva.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio 15
4 | VisualStudioVersion = 15.0.26430.12
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Rios", "Rios\Rios.csproj", "{770FDA42-730F-4C88-8DAA-8E05183C481A}"
7 | EndProject
8 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Intro", "Intro\Intro.csproj", "{2F866C45-1B10-4ED3-BCD2-0C70DDD0C99D}"
9 | EndProject
10 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Pizzeria", "Pizzeria\Pizzeria.csproj", "{6B853B27-BDFA-4CAE-93C9-F595859213A0}"
11 | EndProject
12 | Global
13 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
14 | Debug|Any CPU = Debug|Any CPU
15 | Release|Any CPU = Release|Any CPU
16 | EndGlobalSection
17 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
18 | {770FDA42-730F-4C88-8DAA-8E05183C481A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
19 | {770FDA42-730F-4C88-8DAA-8E05183C481A}.Debug|Any CPU.Build.0 = Debug|Any CPU
20 | {770FDA42-730F-4C88-8DAA-8E05183C481A}.Release|Any CPU.ActiveCfg = Release|Any CPU
21 | {770FDA42-730F-4C88-8DAA-8E05183C481A}.Release|Any CPU.Build.0 = Release|Any CPU
22 | {2F866C45-1B10-4ED3-BCD2-0C70DDD0C99D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
23 | {2F866C45-1B10-4ED3-BCD2-0C70DDD0C99D}.Debug|Any CPU.Build.0 = Debug|Any CPU
24 | {2F866C45-1B10-4ED3-BCD2-0C70DDD0C99D}.Release|Any CPU.ActiveCfg = Release|Any CPU
25 | {2F866C45-1B10-4ED3-BCD2-0C70DDD0C99D}.Release|Any CPU.Build.0 = Release|Any CPU
26 | {6B853B27-BDFA-4CAE-93C9-F595859213A0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
27 | {6B853B27-BDFA-4CAE-93C9-F595859213A0}.Debug|Any CPU.Build.0 = Debug|Any CPU
28 | {6B853B27-BDFA-4CAE-93C9-F595859213A0}.Release|Any CPU.ActiveCfg = Release|Any CPU
29 | {6B853B27-BDFA-4CAE-93C9-F595859213A0}.Release|Any CPU.Build.0 = Release|Any CPU
30 | EndGlobalSection
31 | GlobalSection(SolutionProperties) = preSolution
32 | HideSolutionNode = FALSE
33 | EndGlobalSection
34 | EndGlobal
35 |
--------------------------------------------------------------------------------
/Intro/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Reactive.Linq;
5 | using System.Text;
6 | using System.Threading.Tasks;
7 |
8 | namespace Intro
9 | {
10 | class Program
11 | {
12 | static void Main(string[] args)
13 | {
14 | var datos = new[] { 3, 4, 6, 8, 11, 13, 15, 15, 13, 10, 6, 4 };
15 | foreach (var dato in datos)
16 | Console.Write($"{dato}, ");
17 | Console.WriteLine("\nTerminé de leer los datos");
18 |
19 | Console.WriteLine();
20 | IObservable flujoDatos = datos.ToObservable();
21 | flujoDatos.Subscribe(
22 | onNext: dato => { Console.Write($"{dato}, "); },
23 | onCompleted: () => { Console.WriteLine("\nTerminé de recibir los datos"); }
24 | );
25 |
26 | Console.WriteLine();
27 | flujoDatos
28 | .Where(dato => dato % 3 == 0)
29 | .Subscribe(
30 | onNext: dato => { Console.Write($"{dato}, "); },
31 | onCompleted: () => { Console.WriteLine("\nTerminé de recibir los múltiplos de 3"); }
32 | );
33 |
34 | Console.WriteLine();
35 | flujoDatos
36 | .Skip(2)
37 | .Take(3)
38 | .Subscribe(
39 | onNext: dato => { Console.Write($"{dato}, "); },
40 | onCompleted: () => { Console.WriteLine("\nTerminé de recibir los tres elementos a partir del 2do"); }
41 | );
42 |
43 | Console.WriteLine();
44 | flujoDatos
45 | .Min()
46 | .Subscribe(
47 | onNext: dato => { Console.Write($"{dato}, "); },
48 | onCompleted: () => { Console.WriteLine("\nTerminé de recibir los datos y presenté el menor"); }
49 | );
50 |
51 | Console.WriteLine();
52 | Console.WriteLine("Presiona una tecla para terminar");
53 | Console.Read();
54 | }
55 | }
56 | }
57 |
--------------------------------------------------------------------------------
/Pizzeria/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Reactive.Linq;
3 | using System.Threading;
4 |
5 | namespace Pizzeria
6 | {
7 | class MainClass
8 | {
9 | public static void Main()
10 | {
11 | Random rand = new Random();
12 |
13 | var doughSource = Observable.Interval(TimeSpan.FromSeconds(3))
14 | .Select(_ => new Dough())
15 | .Do(dough => Console.WriteLine("The dough is ready"));
16 | //.Publish()
17 | //.RefCount();
18 |
19 | var sauceSource = Observable.Interval(TimeSpan.FromSeconds(5))
20 | .Select(_ => new Sauce())
21 | .Do(sauce => Console.WriteLine("Prepared sauce"));
22 | //.Publish()
23 | //.RefCount();
24 |
25 | var toppingSource = Observable.Interval(TimeSpan.FromSeconds(2))
26 | .Select(_ => new Topping())
27 | .Do(top => Console.WriteLine("New topping"));
28 | //.Publish()
29 | //.RefCount();
30 |
31 | var pizzaSource = Observable.Zip(doughSource, sauceSource, toppingSource,
32 | resultSelector: (dough, sauce, topping) => new Pizza
33 | {
34 | Base = dough,
35 | Sauce = sauce,
36 | Topping = topping
37 | })
38 | .Do(pizza => Console.WriteLine("\tPizza lista!"));
39 | //.Publish()
40 | //.RefCount();
41 |
42 | Console.WriteLine("Pizzería! presiona ctrl + c para terminar.");
43 |
44 | pizzaSource.Subscribe();
45 |
46 | Thread.Sleep(Timeout.InfiniteTimeSpan);
47 | }
48 |
49 | public class Pizza
50 | {
51 | public Topping Topping { get; set; }
52 | public Sauce Sauce { get; set; }
53 | public Dough Base { get; set; }
54 | }
55 |
56 | public class Topping
57 | {
58 | }
59 |
60 | public class Sauce
61 | {
62 | }
63 |
64 | public class Dough
65 | {
66 | }
67 | }
68 | }
69 |
--------------------------------------------------------------------------------
/Pizzeria/Pizzeria.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Debug
5 | AnyCPU
6 | {6B853B27-BDFA-4CAE-93C9-F595859213A0}
7 | Exe
8 | Pizzeria
9 | Pizzeria
10 | v4.6.1
11 |
12 |
13 | true
14 | full
15 | false
16 | bin\Debug
17 | DEBUG;
18 | prompt
19 | 4
20 | true
21 |
22 |
23 | true
24 | bin\Release
25 | prompt
26 | 4
27 | true
28 |
29 |
30 |
31 |
32 | ..\packages\System.Reactive.Interfaces.3.1.1\lib\net45\System.Reactive.Interfaces.dll
33 |
34 |
35 | ..\packages\System.Reactive.Core.3.1.1\lib\net46\System.Reactive.Core.dll
36 |
37 |
38 | ..\packages\System.Reactive.Linq.3.1.1\lib\net46\System.Reactive.Linq.dll
39 |
40 |
41 | ..\packages\System.Reactive.PlatformServices.3.1.1\lib\net46\System.Reactive.PlatformServices.dll
42 |
43 |
44 | ..\packages\System.Reactive.Windows.Threading.3.1.1\lib\net45\System.Reactive.Windows.Threading.dll
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
--------------------------------------------------------------------------------
/Rios/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Reactive.Concurrency;
5 | using System.Reactive.Linq;
6 | using System.Text;
7 | using System.Threading;
8 | using System.Threading.Tasks;
9 |
10 | namespace Rios
11 | {
12 | class Program
13 | {
14 | static void Main(string[] args)
15 | {
16 | var rioNormal = new River(10);
17 | var rioRapido = new River(10, waitTime: 10);
18 | var dangerousRiver = new River(fishAmount: 10, dangerousRiver: true);
19 |
20 | Console.WriteLine("Comenzando pesca:");
21 |
22 | rioNormal.Stream()
23 | .Subscribe(
24 | onNext: fish => Console.WriteLine($"{DateTime.Now:HH:mm:ss.ffff}: {fish}"),
25 | onCompleted: () => Console.WriteLine("¡Terminé de pescar!")
26 | );
27 |
28 | Console.WriteLine();
29 | Console.WriteLine("Comenzando pesca en un río peligroso:");
30 | dangerousRiver.Stream()
31 | .Subscribe(
32 | onNext: fish => Console.WriteLine($"{DateTime.Now:HH:mm:ss.ffff}: {fish}"),
33 | onError: ex => Console.WriteLine($"Ocurrió un problema en el río: {ex.Message}"),
34 | onCompleted: () => Console.WriteLine("¡Terminé de pescar en el río peligroso!")
35 | );
36 |
37 | Console.WriteLine();
38 | Console.WriteLine("Comenzando pesca (solo peces verdes y grandes):");
39 | rioNormal.Stream()
40 | .Where(fish => fish.Color == Color.Green && fish.Weight > 3000) // Filtramos los elementos
41 | .Subscribe(
42 | onNext: fish => Console.WriteLine($"{DateTime.Now:HH:mm:ss.ffff}: {fish}"),
43 | onCompleted: () => Console.WriteLine("¡Terminé de pescar!")
44 | );
45 |
46 | Console.WriteLine();
47 | Console.WriteLine("Comenzando pesca (usando una red para 3 peces):");
48 | rioNormal.Stream()
49 | .Buffer(3) // Agrupamos 3 elementos
50 | .Subscribe(
51 | onNext: fishCollection =>
52 | {
53 | var f = String.Join(", ", fishCollection.Select(fi => fi.Species));
54 | Console.WriteLine($"Atrapé {fishCollection.Count} peces ({f})");
55 | },
56 | onCompleted: () => Console.WriteLine("¡Terminé de pescar usando una red para 3 peces!")
57 | );
58 |
59 | var erik = new Fisher("Erik");
60 |
61 | Console.WriteLine();
62 | Console.WriteLine("Erik va a pescar:");
63 | rioNormal.Stream()
64 | .Subscribe(erik);
65 |
66 | Console.WriteLine("Presiona una tecla para terminar");
67 | Console.Read();
68 | }
69 | }
70 | }
71 |
--------------------------------------------------------------------------------
/Intro/Intro.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Debug
6 | AnyCPU
7 | {2F866C45-1B10-4ED3-BCD2-0C70DDD0C99D}
8 | Exe
9 | Intro
10 | Intro
11 | v4.5.2
12 | 512
13 | true
14 |
15 |
16 | AnyCPU
17 | true
18 | full
19 | false
20 | bin\Debug\
21 | DEBUG;TRACE
22 | prompt
23 | 4
24 |
25 |
26 | AnyCPU
27 | pdbonly
28 | true
29 | bin\Release\
30 | TRACE
31 | prompt
32 | 4
33 |
34 |
35 |
36 |
37 |
38 | ..\packages\System.Reactive.Core.3.1.1\lib\net45\System.Reactive.Core.dll
39 |
40 |
41 | ..\packages\System.Reactive.Interfaces.3.1.1\lib\net45\System.Reactive.Interfaces.dll
42 |
43 |
44 | ..\packages\System.Reactive.Linq.3.1.1\lib\net45\System.Reactive.Linq.dll
45 |
46 |
47 | ..\packages\System.Reactive.PlatformServices.3.1.1\lib\net45\System.Reactive.PlatformServices.dll
48 |
49 |
50 | ..\packages\System.Reactive.Windows.Threading.3.1.1\lib\net45\System.Reactive.Windows.Threading.dll
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
--------------------------------------------------------------------------------
/Rios/Rios.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Debug
6 | AnyCPU
7 | {770FDA42-730F-4C88-8DAA-8E05183C481A}
8 | Exe
9 | Rios
10 | Rios
11 | v4.5.2
12 | 512
13 | true
14 |
15 |
16 | AnyCPU
17 | true
18 | full
19 | false
20 | bin\Debug\
21 | DEBUG;TRACE
22 | prompt
23 | 4
24 |
25 |
26 | AnyCPU
27 | pdbonly
28 | true
29 | bin\Release\
30 | TRACE
31 | prompt
32 | 4
33 |
34 |
35 |
36 |
37 |
38 | ..\packages\System.Reactive.Core.3.1.1\lib\net45\System.Reactive.Core.dll
39 |
40 |
41 | ..\packages\System.Reactive.Interfaces.3.1.1\lib\net45\System.Reactive.Interfaces.dll
42 |
43 |
44 | ..\packages\System.Reactive.Linq.3.1.1\lib\net45\System.Reactive.Linq.dll
45 |
46 |
47 | ..\packages\System.Reactive.PlatformServices.3.1.1\lib\net45\System.Reactive.PlatformServices.dll
48 |
49 |
50 | ..\packages\System.Reactive.Windows.Threading.3.1.1\lib\net45\System.Reactive.Windows.Threading.dll
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | ## Ignore Visual Studio temporary files, build results, and
2 | ## files generated by popular Visual Studio add-ons.
3 | ##
4 | ## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
5 |
6 | # User-specific files
7 | *.suo
8 | *.user
9 | *.userosscache
10 | *.sln.docstates
11 |
12 | # User-specific files (MonoDevelop/Xamarin Studio)
13 | *.userprefs
14 |
15 | # Build results
16 | [Dd]ebug/
17 | [Dd]ebugPublic/
18 | [Rr]elease/
19 | [Rr]eleases/
20 | x64/
21 | x86/
22 | bld/
23 | [Bb]in/
24 | [Oo]bj/
25 | [Ll]og/
26 |
27 | # Visual Studio 2015 cache/options directory
28 | .vs/
29 | # Uncomment if you have tasks that create the project's static files in wwwroot
30 | #wwwroot/
31 |
32 | # MSTest test Results
33 | [Tt]est[Rr]esult*/
34 | [Bb]uild[Ll]og.*
35 |
36 | # NUNIT
37 | *.VisualState.xml
38 | TestResult.xml
39 |
40 | # Build Results of an ATL Project
41 | [Dd]ebugPS/
42 | [Rr]eleasePS/
43 | dlldata.c
44 |
45 | # .NET Core
46 | project.lock.json
47 | project.fragment.lock.json
48 | artifacts/
49 | **/Properties/launchSettings.json
50 |
51 | *_i.c
52 | *_p.c
53 | *_i.h
54 | *.ilk
55 | *.meta
56 | *.obj
57 | *.pch
58 | *.pdb
59 | *.pgc
60 | *.pgd
61 | *.rsp
62 | *.sbr
63 | *.tlb
64 | *.tli
65 | *.tlh
66 | *.tmp
67 | *.tmp_proj
68 | *.log
69 | *.vspscc
70 | *.vssscc
71 | .builds
72 | *.pidb
73 | *.svclog
74 | *.scc
75 |
76 | # Chutzpah Test files
77 | _Chutzpah*
78 |
79 | # Visual C++ cache files
80 | ipch/
81 | *.aps
82 | *.ncb
83 | *.opendb
84 | *.opensdf
85 | *.sdf
86 | *.cachefile
87 | *.VC.db
88 | *.VC.VC.opendb
89 |
90 | # Visual Studio profiler
91 | *.psess
92 | *.vsp
93 | *.vspx
94 | *.sap
95 |
96 | # TFS 2012 Local Workspace
97 | $tf/
98 |
99 | # Guidance Automation Toolkit
100 | *.gpState
101 |
102 | # ReSharper is a .NET coding add-in
103 | _ReSharper*/
104 | *.[Rr]e[Ss]harper
105 | *.DotSettings.user
106 |
107 | # JustCode is a .NET coding add-in
108 | .JustCode
109 |
110 | # TeamCity is a build add-in
111 | _TeamCity*
112 |
113 | # DotCover is a Code Coverage Tool
114 | *.dotCover
115 |
116 | # Visual Studio code coverage results
117 | *.coverage
118 | *.coveragexml
119 |
120 | # NCrunch
121 | _NCrunch_*
122 | .*crunch*.local.xml
123 | nCrunchTemp_*
124 |
125 | # MightyMoose
126 | *.mm.*
127 | AutoTest.Net/
128 |
129 | # Web workbench (sass)
130 | .sass-cache/
131 |
132 | # Installshield output folder
133 | [Ee]xpress/
134 |
135 | # DocProject is a documentation generator add-in
136 | DocProject/buildhelp/
137 | DocProject/Help/*.HxT
138 | DocProject/Help/*.HxC
139 | DocProject/Help/*.hhc
140 | DocProject/Help/*.hhk
141 | DocProject/Help/*.hhp
142 | DocProject/Help/Html2
143 | DocProject/Help/html
144 |
145 | # Click-Once directory
146 | publish/
147 |
148 | # Publish Web Output
149 | *.[Pp]ublish.xml
150 | *.azurePubxml
151 | # TODO: Comment the next line if you want to checkin your web deploy settings
152 | # but database connection strings (with potential passwords) will be unencrypted
153 | *.pubxml
154 | *.publishproj
155 |
156 | # Microsoft Azure Web App publish settings. Comment the next line if you want to
157 | # checkin your Azure Web App publish settings, but sensitive information contained
158 | # in these scripts will be unencrypted
159 | PublishScripts/
160 |
161 | # NuGet Packages
162 | *.nupkg
163 | # The packages folder can be ignored because of Package Restore
164 | **/packages/*
165 | # except build/, which is used as an MSBuild target.
166 | !**/packages/build/
167 | # Uncomment if necessary however generally it will be regenerated when needed
168 | #!**/packages/repositories.config
169 | # NuGet v3's project.json files produces more ignorable files
170 | *.nuget.props
171 | *.nuget.targets
172 |
173 | # Microsoft Azure Build Output
174 | csx/
175 | *.build.csdef
176 |
177 | # Microsoft Azure Emulator
178 | ecf/
179 | rcf/
180 |
181 | # Windows Store app package directories and files
182 | AppPackages/
183 | BundleArtifacts/
184 | Package.StoreAssociation.xml
185 | _pkginfo.txt
186 |
187 | # Visual Studio cache files
188 | # files ending in .cache can be ignored
189 | *.[Cc]ache
190 | # but keep track of directories ending in .cache
191 | !*.[Cc]ache/
192 |
193 | # Others
194 | ClientBin/
195 | ~$*
196 | *~
197 | *.dbmdl
198 | *.dbproj.schemaview
199 | *.jfm
200 | *.pfx
201 | *.publishsettings
202 | orleans.codegen.cs
203 |
204 | # Since there are multiple workflows, uncomment next line to ignore bower_components
205 | # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
206 | #bower_components/
207 |
208 | # RIA/Silverlight projects
209 | Generated_Code/
210 |
211 | # Backup & report files from converting an old project file
212 | # to a newer Visual Studio version. Backup files are not needed,
213 | # because we have git ;-)
214 | _UpgradeReport_Files/
215 | Backup*/
216 | UpgradeLog*.XML
217 | UpgradeLog*.htm
218 |
219 | # SQL Server files
220 | *.mdf
221 | *.ldf
222 | *.ndf
223 |
224 | # Business Intelligence projects
225 | *.rdl.data
226 | *.bim.layout
227 | *.bim_*.settings
228 |
229 | # Microsoft Fakes
230 | FakesAssemblies/
231 |
232 | # GhostDoc plugin setting file
233 | *.GhostDoc.xml
234 |
235 | # Node.js Tools for Visual Studio
236 | .ntvs_analysis.dat
237 | node_modules/
238 |
239 | # Typescript v1 declaration files
240 | typings/
241 |
242 | # Visual Studio 6 build log
243 | *.plg
244 |
245 | # Visual Studio 6 workspace options file
246 | *.opt
247 |
248 | # Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
249 | *.vbw
250 |
251 | # Visual Studio LightSwitch build output
252 | **/*.HTMLClient/GeneratedArtifacts
253 | **/*.DesktopClient/GeneratedArtifacts
254 | **/*.DesktopClient/ModelManifest.xml
255 | **/*.Server/GeneratedArtifacts
256 | **/*.Server/ModelManifest.xml
257 | _Pvt_Extensions
258 |
259 | # Paket dependency manager
260 | .paket/paket.exe
261 | paket-files/
262 |
263 | # FAKE - F# Make
264 | .fake/
265 |
266 | # JetBrains Rider
267 | .idea/
268 | *.sln.iml
269 |
270 | # CodeRush
271 | .cr/
272 |
273 | # Python Tools for Visual Studio (PTVS)
274 | __pycache__/
275 | *.pyc
276 |
277 | # Cake - Uncomment if you are using it
278 | # tools/**
279 | # !tools/packages.config
280 |
281 | # Telerik's JustMock configuration file
282 | *.jmconfig
283 |
284 | # BizTalk build output
285 | *.btp.cs
286 | *.btm.cs
287 | *.odx.cs
288 | *.xsd.cs
289 |
--------------------------------------------------------------------------------