(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
using Autofac; | |
using Autofac.Features.Variance; | |
using MediatR; | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Reflection; | |
namespace Mediatr.Extras.Autofac | |
{ |
/// <summary> | |
/// A simple library to invoke private methods during runtime. Could be used while unit testing private functions. | |
/// </summary> | |
public class MethodInvoker | |
{ | |
private static MethodInfo GetMethod<T>(string methodName) => | |
typeof(T).GetMethod(methodName, BindingFlags.Static | BindingFlags.NonPublic | BindingFlags.Instance); | |
/// <summary> | |
/// Invokes a private void method. |
version: "3" | |
services: | |
#Database service | |
mysql_db: | |
image: mysql:5.7 | |
restart: always | |
environment: | |
MYSQL_ROOT_PASSWORD: some_password_of_ur_choice | |
MYSQL_DATABASE: name_your_wordpress_database |