Beispiel #1
0
        private static void AddService(Tuple <Type, Type> service)
        {
            if (Servicos.ContainsKey(service.Item1))
            {
                throw new DesenvolvimentoIncorretoException($"There are two service classes with the same Nome {service.Item1} -  {service.Item2}. This is not allowed.");
            }

            Servicos.Add(service.Item1, service.Item2);
        }