Skip to content

Instantly share code, notes, and snippets.

@carloscds
Created February 14, 2020 00:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save carloscds/2a13608f0f9b00f061a39b3075ffe4f4 to your computer and use it in GitHub Desktop.
Save carloscds/2a13608f0f9b00f061a39b3075ffe4f4 to your computer and use it in GitHub Desktop.
using System;
namespace ExemploNInject
{
public interface IServico
{
public void Executa();
}
public class MeuServico : IServico
{
public void Executa()
{
System.Console.WriteLine("Servico Executado!");
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment